Add IRIX options from specs to new mips/iris6.opt

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Fri Feb 4 15:01:00 GMT 2011


"Joseph S. Myers" <joseph@codesourcery.com> writes:

> In preparation for the driver only accepting options listed in .opt
> files, and not other options that simply happen to match some spec,
> this patch adds options from specs in mips/iris6.h to a new
> iris6.opt.  (As noted in
> <http://gcc.gnu.org/ml/gcc-patches/2011-01/msg00902.html>, I don't
> actually know if all these options are IRIX linker options, but they
> don't make much sense here if they aren't.)

They are, although -bestGnu, while accepted, isn't documented in ld(1).
Btw., what's our policy for handling linker options in the driver
directly instead of having to prefix them with -Wl,?  I'd suggest to
follow the lead of the native compiler here.

> Tested building cc1 and xgcc for cross to mips-sgi-irix6.5.  OK to
> commit?

Sure, thanks.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University



More information about the Gcc-patches mailing list