This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Add IRIX options from specs to new mips/iris6.opt
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, echristo at apple dot com, rdsandiford at googlemail dot com
- Date: Fri, 04 Feb 2011 16:00:47 +0100
- Subject: Re: Add IRIX options from specs to new mips/iris6.opt
- References: <Pine.LNX.4.64.1102032050410.18971@digraph.polyomino.org.uk>
"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