2021-04-10 14:31:21 +00:00
|
|
|
From 71b4599cd1a7512221e3b209d084ee0e80cae56f Mon Sep 17 00:00:00 2001
|
2018-12-12 17:14:55 +00:00
|
|
|
From: Nils Andreas Svee <me@lochnair.net>
|
|
|
|
Date: Thu, 21 Dec 2017 03:14:33 +0100
|
2021-04-10 14:31:21 +00:00
|
|
|
Subject: [PATCH 23/40] Pure 64-bit MIPS
|
2018-12-12 17:14:55 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
gcc/config/mips/mips.h | 8 ++++----
|
|
|
|
gcc/config/mips/t-linux64 | 6 +++---
|
|
|
|
2 files changed, 7 insertions(+), 7 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
|
2020-08-21 10:18:02 +00:00
|
|
|
index 3ce0c19a29a..b9920b49167 100644
|
2018-12-12 17:14:55 +00:00
|
|
|
--- a/gcc/config/mips/mips.h
|
|
|
|
+++ b/gcc/config/mips/mips.h
|
2020-08-21 10:18:02 +00:00
|
|
|
@@ -3424,11 +3424,11 @@ struct GTY(()) machine_function {
|
2018-12-12 17:14:55 +00:00
|
|
|
/* 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/"
|
|
|
|
+#define STANDARD_STARTFILE_PREFIX_1 "/lib/"
|
|
|
|
+#define STANDARD_STARTFILE_PREFIX_2 "/usr/lib/"
|
|
|
|
#elif MIPS_ABI_DEFAULT == ABI_64
|
|
|
|
-#define STANDARD_STARTFILE_PREFIX_1 "/lib64/"
|
|
|
|
-#define STANDARD_STARTFILE_PREFIX_2 "/usr/lib64/"
|
|
|
|
+#define STANDARD_STARTFILE_PREFIX_1 "/lib/"
|
|
|
|
+#define STANDARD_STARTFILE_PREFIX_2 "/usr/lib/"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Load store bonding is not supported by micromips and fix_24k. The
|
|
|
|
diff --git a/gcc/config/mips/t-linux64 b/gcc/config/mips/t-linux64
|
2020-08-21 10:18:02 +00:00
|
|
|
index ceb58d3b5f3..8116e23ebba 100644
|
2018-12-12 17:14:55 +00:00
|
|
|
--- a/gcc/config/mips/t-linux64
|
|
|
|
+++ b/gcc/config/mips/t-linux64
|
|
|
|
@@ -21,6 +21,6 @@ MULTILIB_DIRNAMES = n32 32 64
|
|
|
|
MIPS_EL = $(if $(filter %el, $(firstword $(subst -, ,$(target)))),el)
|
|
|
|
MIPS_SOFT = $(if $(strip $(filter MASK_SOFT_FLOAT_ABI, $(target_cpu_default)) $(filter soft, $(with_float))),soft)
|
|
|
|
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))
|
|
|
|
+ ../lib \
|
|
|
|
+ ../lib32 \
|
|
|
|
+ ../lib
|
|
|
|
--
|
2021-03-28 18:49:36 +00:00
|
|
|
2.31.0
|
2018-12-12 17:14:55 +00:00
|
|
|
|