wok-next view gcc/stuff/patches/gcc-pure64-mips.patch @ rev 21726

updated firefox-official (77.0 -> 81.0)
author Hans-G?nter Theisgen
date Sun Sep 27 14:34:31 2020 +0100 (2020-09-27)
parents
children
line source
1 From b8c4e45d052adc247341066f748421743704b481 Mon Sep 17 00:00:00 2001
2 From: Nils Andreas Svee <me@lochnair.net>
3 Date: Thu, 21 Dec 2017 03:14:33 +0100
4 Subject: [PATCH] Pure 64-bit MIPS
6 ---
7 gcc/config/mips/mips.h | 8 ++++----
8 gcc/config/mips/t-linux64 | 6 +++---
9 2 files changed, 7 insertions(+), 7 deletions(-)
11 diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
12 index 803ab98e7..afd74752f 100644
13 --- a/gcc/config/mips/mips.h
14 +++ b/gcc/config/mips/mips.h
15 @@ -3330,11 +3330,11 @@ struct GTY(()) machine_function {
16 /* If we are *not* using multilibs and the default ABI is not ABI_32 we
17 need to change these from /lib and /usr/lib. */
18 #if MIPS_ABI_DEFAULT == ABI_N32
19 -#define STANDARD_STARTFILE_PREFIX_1 "/lib32/"
20 -#define STANDARD_STARTFILE_PREFIX_2 "/usr/lib32/"
21 +#define STANDARD_STARTFILE_PREFIX_1 "/lib/"
22 +#define STANDARD_STARTFILE_PREFIX_2 "/usr/lib/"
23 #elif MIPS_ABI_DEFAULT == ABI_64
24 -#define STANDARD_STARTFILE_PREFIX_1 "/lib64/"
25 -#define STANDARD_STARTFILE_PREFIX_2 "/usr/lib64/"
26 +#define STANDARD_STARTFILE_PREFIX_1 "/lib/"
27 +#define STANDARD_STARTFILE_PREFIX_2 "/usr/lib/"
28 #endif
30 /* Load store bonding is not supported by micromips and fix_24k. The
31 diff --git a/gcc/config/mips/t-linux64 b/gcc/config/mips/t-linux64
32 index 16c8adf85..bb46204db 100644
33 --- a/gcc/config/mips/t-linux64
34 +++ b/gcc/config/mips/t-linux64
35 @@ -21,6 +21,6 @@ MULTILIB_DIRNAMES = n32 32 64
36 MIPS_EL = $(if $(filter %el, $(firstword $(subst -, ,$(target)))),el)
37 MIPS_SOFT = $(if $(strip $(filter MASK_SOFT_FLOAT_ABI, $(target_cpu_default)) $(filter soft, $(with_float))),soft)
38 MULTILIB_OSDIRNAMES = \
39 - ../lib32$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabin32$(MIPS_SOFT)) \
40 - ../lib$(call if_multiarch,:mips$(MIPS_EL)-linux-gnu$(MIPS_SOFT)) \
41 - ../lib64$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabi64$(MIPS_SOFT))
42 + ../lib \
43 + ../lib32 \
44 + ../lib
45 --
46 2.15.1