1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/binutils/muslx32.patch
3 # Copyright (C) 2021 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- binutils-2.37/ld/configure.tgt.vanilla 2021-10-18 14:02:05.339143087 +0200
15 +++ binutils-2.37/ld/configure.tgt 2021-10-18 14:03:08.312146336 +0200
18 x86_64-*-cloudabi*) targ_emul=elf_x86_64_cloudabi
20 -x86_64-*-linux-gnux32) targ_emul=elf32_x86_64
21 +x86_64-*-linux-*x32) targ_emul=elf32_x86_64
22 targ_extra_emuls="elf_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om"
23 targ_extra_libpath="elf_i386 elf_iamcu elf_x86_64 elf_l1om elf_k1om"
24 - tdir_elf_iamcu=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'`
25 - tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'`
26 + tdir_elf_iamcu=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/x32//'`
27 + tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/x32//'`
29 x86_64-*-linux-*) targ_emul=elf_x86_64
30 targ_extra_emuls="elf32_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om"
31 --- binutils-2.37/gold/configure.vanilla 2021-10-18 14:50:16.080292218 +0200
32 +++ binutils-2.37/gold/configure 2021-10-18 14:50:33.380293110 +0200
35 if test "$targ_obj" = "x86_64"; then
37 - x86_64*-linux-gnux32)
42 --- binutils-2.37/gas/configure.tgt.vanilla 2021-10-18 14:49:18.207289232 +0200
43 +++ binutils-2.37/gas/configure.tgt 2021-10-18 14:49:49.502290847 +0200
45 i386-*-openbsd*) fmt=elf em=nbsd ;;
46 i386-*-linux-*) fmt=elf em=linux
48 - x86_64*-linux-gnux32) arch=x86_64:32 ;;
49 + x86_64*-linux-*x32) arch=x86_64:32 ;;
51 i386-*-lynxos*) fmt=elf em=lynx ;;
52 i386-*-redox*) fmt=elf ;;