public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* ARM/Thumb on a per function basis
@ 2001-12-14 14:31 Shaun Jackman
  0 siblings, 0 replies; only message in thread
From: Shaun Jackman @ 2001-12-14 14:31 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-12-14 22:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-14 14:31 ARM/Thumb on a per function basis Shaun Jackman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).