wok-next annotate gcc/stuff/patches/gcc-pure64-mips.patch @ rev 21338

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