1.1 --- a/patches/binutils/2.20.1/160-amd64-32bit-path.patch Sun Sep 11 18:26:12 2011 +0200
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,19 +0,0 @@
1.4 -
1.5 -
1.6 -diff -durN binutils-2.20.1.orig/ld/emulparams/elf_i386.sh binutils-2.20.1/ld/emulparams/elf_i386.sh
1.7 ---- binutils-2.20.1.orig/ld/emulparams/elf_i386.sh 2009-07-29 16:59:23.000000000 +0200
1.8 -+++ binutils-2.20.1/ld/emulparams/elf_i386.sh 2010-08-17 19:32:12.000000000 +0200
1.9 -@@ -13,3 +13,13 @@
1.10 - NO_SMALL_DATA=yes
1.11 - SEPARATE_GOTPLT=12
1.12 - IREL_IN_PLT=
1.13 -+
1.14 -+# In Gentoo, we install 32bit libs into /lib32 in an
1.15 -+# ABI setup with amd64/x86
1.16 -+case "$target" in
1.17 -+ x86_64*-linux*)
1.18 -+ case "$EMULATION_NAME" in
1.19 -+ *i386*) LIBPATH_SUFFIX=32 ;;
1.20 -+ esac
1.21 -+ ;;
1.22 -+esac