Reject multiple -o options

Nathan Sidwell nathan@codesourcery.com
Fri Mar 5 14:20:00 GMT 2004


In fixing GCC PR driver/13577, I discovered both gas and ld silently
allow multiple -o options.  This patch fixes that.

Tested on i686-pc-linux-gnu, and manually for multiple -o usage

ok?

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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: output-opt.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20040305/98dd1bf5/attachment.ksh>


More information about the Binutils mailing list