This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ARM in thumb mode


  I'd want to compile mi C sources into ARM's THUMB code. I have
compiled gcc 2.95.2 with the targets arm-elf and arm-thumb-elf, but I
don't know how to make it compile THUMB code (the only think that seems
to work is inserting asm ("bx r0;.THUMB").  Is there any option that can
be passed to gcc to avoid this unsafe way to generate THUMB code?


--
Rafael Rodríguez Velilla        rrv@tid.es
Telefónica I+D          http://www.tid.es
Telf: +34 - 91 337 4270




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]