This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Add missing comma to config/mips/elfoabi.h
- From: Richard Sandiford <rsandifo at nildram dot co dot uk>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 26 Nov 2007 09:27:49 +0000
- Subject: [committed] Add missing comma to config/mips/elfoabi.h
A missing comma in config/mips/elfoabi.h:DRIVER_SELF_SPECS meant
that the "remove redundant -mfp64" spec would not see a -mabi=o64
option added by the previous spec. So:
-EL -mips64 -mfp64
would become:
-EL -mips64 -mfp64 -mabi=o64
rather than the intended:
-EL -mips64 -mabi=o64
and the driver would think we were selecting a non-existant multilib.
This was causing mips-ps-[12346].c to fail for little-endian multilibs
on mipsisa64-elfoabi.
Tested on mipsisa64-elfoabi and applied.
Richard
gcc/
* config/mips/elfoabi.h (DRIVER_SELF_SPECS): Add missing comma.
Index: gcc/config/mips/elfoabi.h
===================================================================
--- gcc/config/mips/elfoabi.h (revision 130407)
+++ gcc/config/mips/elfoabi.h (working copy)
@@ -27,7 +27,7 @@ #define DRIVER_SELF_SPECS \
\
/* If no ABI option is specified, infer one from the ISA level \
or -mgp setting. */ \
- "%{!mabi=*: %{" MIPS_32BIT_OPTION_SPEC ": -mabi=32;: -mabi=o64}}" \
+ "%{!mabi=*: %{" MIPS_32BIT_OPTION_SPEC ": -mabi=32;: -mabi=o64}}", \
\
/* Remove a redundant -mfp64 for -mabi=o64; we want the !mfp64 \
multilibs. There's no need to check whether the architecture \