blob: 41bcaf813ae714b0da1f79be82e5088c1f271954 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- a/gcc/config/mips/linux.h
+++ b/gcc/config/mips/linux.h
@@ -58,3 +58,8 @@ along with GCC; see the file COPYING3.
#else
#define NEED_INDICATE_EXEC_STACK TARGET_SOFT_FLOAT
#endif
+
+#define STARTFILE_PREFIX_SPEC \
+ "%{mabi=n32: /lib/glibc/abi-n32/} \
+ %{mabi=32: /lib/glibc/abi-32/} \
+ %{mabi=64: /lib/glibc/abi-64/}"
--- a/gcc/config/mips/t-linux64
+++ b/gcc/config/mips/t-linux64
@@ -38,8 +38,5 @@ ifeq (yes,$(enable_multiarch))
../lib64$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabi64$(MIPS_SOFT))
endif
else
- MULTILIB_OSDIRNAMES = \
- ../lib32$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabin32$(MIPS_SOFT)) \
- ../lib$(call if_multiarch,:mips$(MIPS_EL)-linux-gnu$(MIPS_SOFT)) \
- ../lib64$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabi64$(MIPS_SOFT))
+ MULTILIB_OSDIRNAMES = MULTILIB_OSDIRNAMES = n32=../lib/glibc/abi-n32 32=../lib/glibc/abi-32 64=../lib/glibc/abi-64
endif
|