[Bug driver/27237] gcc driver should pass -mthumb option to arm assembler

2006-04-21 Thread mf dot danger at gmail dot com
--- Comment #4 from mf dot danger at gmail dot com 2006-04-21 20:30 --- Perhaps a precise example would make this clearer. I have a human-written thumb assembler file. (see attached) I attempt to assemble it using arm-elf-gcc -v -g -mthumb -c -o bdidown.o bdidown.S The following ap

[Bug driver/27237] gcc driver should pass -mthumb option to arm assembler

2006-04-21 Thread mf dot danger at gmail dot com
--- Comment #3 from mf dot danger at gmail dot com 2006-04-21 20:24 --- Created an attachment (id=11313) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11313&action=view) Example .S file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27237

[Bug driver/27237] gcc driver should pass -mthumb option to arm assembler

2006-04-21 Thread mf dot danger at gmail dot com
--- Comment #2 from mf dot danger at gmail dot com 2006-04-21 20:08 --- I guess I didn't make it clear that this is a bug against the gcc _driver_ not the compiler. I am using gcc _driver_ to invoke gas to assemble an assembler *source* file. 'gcc -mthumb -c foo.S' should cause gas to

[Bug driver/27237] gcc driver should pass -mthumb option to arm assembler

2006-04-21 Thread rearnsha at gcc dot gnu dot org
--- Comment #1 from rearnsha at gcc dot gnu dot org 2006-04-21 08:27 --- There's no need to pass -mthumb to the assembler. If the compiler has emitted thumb code it will have inserted a suitable directive into the assembly file that will cause the assembler to act accordingly. --