-mthumb-interwork / -mthumb


Genboo

Still Fresh
Joined
Aug 11, 2012
Messages
36
Hi there,


is -mthumb-interwork still needed for Thumb-2 processors (armv7a) and mixing ARM / Thumb code?


gcc spec says I need it and description of armv7a Thumb-2 processors tells me they do that itself.


With best regards


Genboo


Edit:


Forget it. Just found it on google as second result after my question...how did I miss it lol


http://communities.m...u/msg03483.html


Recompiling my system atm with -mthumb (and some other changes). Seems to be the default setting for mcpu=cortex-a8.


readelf shows TAG_THUMB_ISA_use: Thumb-2 for all my files and Thumb-1 for Angstrom.


But maybe is this readelf output the wrong indicator for -mthumb or -marm got used by the compiler.


Need to build a random package with -marm but I guess I still see TAG_THUMB_ISA_use: Thumb-2 because its linked against Thumb-2 libs or build with mcpu=cortex-a8.


The OP of the thread above got the TAG_THUMB_ISA_use: Thumb-2 message with -marm.
 
Last edited by a moderator:
Back
Top