arm-linux-ld doesn't create codes for arm-thumb interworking

Jim Wilson wilson@tuliptree.org
Tue Jun 24 07:25:00 GMT 2003


Rimpei Sosa wrote:
> It seems that arm-linux-ld doesn't create codes for interworking.

The support is there for the embedded arm-elf target, but isn't enabled 
by default.  Uncomment the thumb-interwork stuff in the 
gcc/config/arm/t-arm-elf file then rebuild gcc and the C library (e.g. 
newlib).

For linux, in theory you can enable support the same way by copying 
those 3 lines from t-elf to t-linux.  You may run into other problems 
though, for instance, you might need to build thumb interwork versions 
of some libraries.

Jim





More information about the Gcc mailing list