diff options
Diffstat (limited to 'gcc/config/mips/iris6.h')
-rw-r--r-- | gcc/config/mips/iris6.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/gcc/config/mips/iris6.h b/gcc/config/mips/iris6.h index 86746d11e84..e66481f30e9 100644 --- a/gcc/config/mips/iris6.h +++ b/gcc/config/mips/iris6.h @@ -30,9 +30,8 @@ Boston, MA 02111-1307, USA. */ #include "mips/iris5.h" #include "mips/abi64.h" -/* For Irix 6, -mips3 implies TARGET_LONG64. */ -#undef TARGET_LONG64 -#define TARGET_LONG64 (mips_abi == ABI_64) +/* For Irix 6, -mabi=64 implies TARGET_LONG64. */ +/* This is handled in override_options. */ #undef SUBTARGET_CC1_SPEC #define SUBTARGET_CC1_SPEC "%{static: -mno-abicalls}" @@ -500,18 +499,18 @@ do { \ %{!pg:%{p:/usr/lib32/mips3/nonshared/mcrt1.o%s \ /usr/lib32/mips3/nonshared/libprof1.a%s} \ %{!p:/usr/lib32/mips3/nonshared/crt1.o%s}}}}}} \ - %{mabi=n32: %{mips4:-L/usr/lib32/mips4} %{!mips4:-L/usr/lib32/mips3} \ + crtbegin.o%s" + +#undef LIB_SPEC +#define LIB_SPEC \ + "%{mabi=n32: %{mips4:-L/usr/lib32/mips4} %{!mips4:-L/usr/lib32/mips3} \ -L/usr/lib32} \ %{mabi=64: %{mips4:-L/usr/lib64/mips4} %{!mips4:-L/usr/lib64/mips3} \ -L/usr/lib64} \ %{!mabi*: %{mips4:-L/usr/lib32/mips4} %{!mips4:-L/usr/lib32/mips3} \ -L/usr/lib32} \ - crtbegin.o%s" - -#undef LIB_SPEC -#define LIB_SPEC "\ -%{!shared: \ - -dont_warn_unused %{p:libprof1.a%s}%{pg:libprof1.a%s} -lc -warn_unused}" + %{!shared: \ + -dont_warn_unused %{p:libprof1.a%s}%{pg:libprof1.a%s} -lc -warn_unused}" /* Avoid getting two warnings for libgcc.a everytime we link. */ #undef LIBGCC_SPEC |