ARM/Thumb on a per function basis
Shaun Jackman
sjackman@pathwayconnect.com
Fri Dec 14 14:31:00 GMT 2001
I know -marm and -mthumb can be used from the command line to specify which
source modules should be compiled for arm, and which should be compiled for
thumb, but is it possible to specify this on a per function basis?
void my_arm_f( void) __attribute__((arm)) { }
void my_thumb_f( void) __attribute__((thumb)) { }
The interfacearm attribute is the only attribute I can find that's even
remotely close. I don't think this is what I want though.
Please cc me as I'm not a member of this list,
Thanks,
Shaun
More information about the Gcc-help
mailing list