Dash:
[t2.git] / package / develop / gcc / mips64.patch
blob976506124d87e2d49d994705441649d0083dab1b
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../gcc/mips64.patch
5 # Copyright (C) 2010 - 2017 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 We do not need 3 multilib configs by default, use (old) 32bit compatible
18 lib/ and true 64bit lib64/, like on x86-64, powerpc64, ...
20 - Rene Rebe <rene@exactcode.de>
22 --- gcc-7.2.0/gcc/config/mips/t-linux64.vanilla 2017-12-30 19:48:14.892268500 +0000
23 +++ gcc-7.2.0/gcc/config/mips/t-linux64 2017-12-30 19:52:24.200259373 +0000
24 @@ -16,11 +16,10 @@
25 # along with GCC; see the file COPYING3. If not see
26 # <http://www.gnu.org/licenses/>.
28 -MULTILIB_OPTIONS = mabi=n32/mabi=32/mabi=64
29 -MULTILIB_DIRNAMES = n32 32 64
30 +MULTILIB_OPTIONS = mabi=32/mabi=64
31 +MULTILIB_DIRNAMES = 32 64
32 MIPS_EL = $(if $(filter %el, $(firstword $(subst -, ,$(target)))),el)
33 MIPS_SOFT = $(if $(strip $(filter MASK_SOFT_FLOAT_ABI, $(target_cpu_default)) $(filter soft, $(with_float))),soft)
34 MULTILIB_OSDIRNAMES = \
35 - ../lib32$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabin32$(MIPS_SOFT)) \
36 ../lib$(call if_multiarch,:mips$(MIPS_EL)-linux-gnu$(MIPS_SOFT)) \
37 ../lib64$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabi64$(MIPS_SOFT))