ports/lang/bootgcc/patches/patch-gcc_config_mips_mips_h

30 lines
1.1 KiB
Text

Index: gcc/config/mips/mips.h
--- gcc/config/mips/mips.h.orig
+++ gcc/config/mips/mips.h
@@ -1405,7 +1405,9 @@ FP_ASM_SPEC "\
#define SUBTARGET_CPP_SPEC ""
#endif
+#ifndef CPP_SPEC
#define CPP_SPEC "%(subtarget_cpp_spec)"
+#endif
/* This macro defines names of additional specifications to put in the specs
that can be used in various specifications like CC1_SPEC. Its definition
@@ -3387,16 +3389,6 @@ struct GTY(()) machine_function {
with arguments ARGS. */
#define PMODE_INSN(NAME, ARGS) \
(Pmode == SImode ? NAME ## _si ARGS : NAME ## _di ARGS)
-
-/* If we are *not* using multilibs and the default ABI is not ABI_32 we
- need to change these from /lib and /usr/lib. */
-#if MIPS_ABI_DEFAULT == ABI_N32
-#define STANDARD_STARTFILE_PREFIX_1 "/lib32/"
-#define STANDARD_STARTFILE_PREFIX_2 "/usr/lib32/"
-#elif MIPS_ABI_DEFAULT == ABI_64
-#define STANDARD_STARTFILE_PREFIX_1 "/lib64/"
-#define STANDARD_STARTFILE_PREFIX_2 "/usr/lib64/"
-#endif
/* Load store bonding is not supported by micromips and fix_24k. The
performance can be degraded for those targets. Hence, do not bond for