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

2009-03-31 Thread ramana at gcc dot gnu dot org
--- Comment #15 from ramana at gcc dot gnu dot org 2009-03-31 15:11 --- The driver will not pass the mthumb option to the assembler. The documentation has been updated with the below mentioned commit to handle this case. http://gcc.gnu.org/viewcvs?view=rev&revision=145347 Hence this ca

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

2006-04-21 Thread mf dot danger at gmail dot com
--- Comment #14 from mf dot danger at gmail dot com 2006-04-22 01:51 --- I doubt there is anyone anywhere who would be able to devine that "various" meant this subset of the processes and not that. Further, the sentence that describes the use of '-W' specifically says "other options t

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

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2006-04-22 01:20 --- Says various and not all and it means not to the assembler. just to cc1 and cc1plus. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

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

2006-04-21 Thread mf dot danger at gmail dot com
--- Comment #12 from mf dot danger at gmail dot com 2006-04-22 01:16 --- actually, gcc itself says so: printf (_("\ \nOptions starting with -g, -f, -m, -O, -W, or --param are automatically\n\ passed on to the various sub-processes invoked by %s. In order to pass\n\ other options o

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

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2006-04-22 00:05 --- (In reply to comment #10) No where it says which option is passed where, and reading -mthumb: Generate code for the 16-bit Thumb instruction set. The default is to use the 32-bit ARM instruction set. Says to gene

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

2006-04-21 Thread mf dot danger at gmail dot com
--- Comment #10 from mf dot danger at gmail dot com 2006-04-21 23:52 --- Gas is part of binutils, but the driver is part of gcc, and it *is* a violation of the principle of least astonishment to have to pass the same option two different ways through the driver depending on what option

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

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-04-21 22:53 --- (In reply to comment #8) > On the question of documentation: > From the GNU Info node for invoking gas: GAS is not part of GCC but instead binutils. So you should report this to binutils, but also it says usually s

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

2006-04-21 Thread mf dot danger at gmail dot com
--- Comment #8 from mf dot danger at gmail dot com 2006-04-21 22:43 --- On the question of documentation: >From the GNU Info node for invoking gas: Usually you do not need to use this `-Wa' mechanism, since many compiler command-line options are automatically passed to the assembler

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

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-04-21 20:45 --- What documentation? The -m* options are compiler options. And there is documentation to that effect already. In fact there is documentation to pass an option to the assembler, you should be using -Wa,xx alread

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

2006-04-21 Thread mf dot danger at gmail dot com
--- Comment #6 from mf dot danger at gmail dot com 2006-04-21 20:36 --- That's fine, so long as you turn it into a documentation bug and fix the documentation, as it's an option that's documented as being passed to the assembler. -- mf dot danger at gmail dot com changed:

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

2006-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-04-21 20:32 --- Use the .thumb psedu-op or use -Wa,-mthumb. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -