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

mf dot danger at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Apr 21 23:52:00 GMT 2006



------- 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 is being passed.

Also, the same information is present in the gcc info node. (see 3.17.2 ARM
Options) and the GCC Command Options section says that options are passed on to
the various stages.

If any of the passes recognizes an option that the driver understands, the
driver should pass that option on to that pass.  Any other behavior violates
least-astonishment.


-- 

mf dot danger at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27237



More information about the Gcc-bugs mailing list