Patch ping: multiple -o options

Nathan Sidwell nathan@codesourcery.com
Mon Mar 29 15:49:00 GMT 2004


Alan Modra wrote:
> On Thu, Mar 25, 2004 at 08:33:31AM +0000, Nathan Sidwell wrote:
> 
>>In fixing GCC PR driver/13577, I discovered both gas and ld silently
>>allow multiple -o options.
> 
> 
> Is that a sin?  What is wrong with the last -o just overriding any
> previous -o?
I found it a surprise. A quick straw poll of some other experienced
developers found it a surprise.  We did not think this situation
the same as -fsome-feature -fno-some-feature, which is flipping
the same switch on and then off.

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk




More information about the Binutils mailing list