This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]