diff options
author | Khem Raj <raj.khem@gmail.com> | 2013-04-25 20:38:23 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-08 15:41:13 +0100 |
commit | edcae40bf61109a63d43f59147b3de6c51750e14 (patch) | |
tree | 87e3444d2bdf0733e6ea6453a0bb5330030c70bf /meta/recipes-devtools/binutils/binutils-2.23.2/binutils-x86_64_i386_biarch.patch | |
parent | 4bf8253af7f5d28e81dd0c5d150712b36b14e741 (diff) | |
download | poky-edcae40bf61109a63d43f59147b3de6c51750e14.tar.gz |
binutils: Upgrade 2.23.1 -> 2.23.2
(From OE-Core rev: 202f46b139ab20079e97cdeb147d59e23bcdfe01)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils-2.23.2/binutils-x86_64_i386_biarch.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils-2.23.2/binutils-x86_64_i386_biarch.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-x86_64_i386_biarch.patch b/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-x86_64_i386_biarch.patch new file mode 100644 index 0000000000..c09578a787 --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils-2.23.2/binutils-x86_64_i386_biarch.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | #!/bin/sh -e | ||
2 | ## 127_x86_64_i386_biarch.dpatch | ||
3 | ## | ||
4 | ## DP: Description: Add (/usr)/lib32 to the search paths on x86_64. | ||
5 | ## DP: Author: Aurelien Jarno <aurel32.debian.org> | ||
6 | ## DP: Upstream status: Debian specific | ||
7 | # | ||
8 | # Hacked to apply with quilt | ||
9 | # Adapted to binutils 2.18.50.0.7 | ||
10 | Upstream-Status: Inappropriate [embedded specific] | ||
11 | |||
12 | Index: binutils-2.22/ld/emulparams/elf_i386.sh | ||
13 | =================================================================== | ||
14 | --- binutils-2.22.orig/ld/emulparams/elf_i386.sh | ||
15 | +++ binutils-2.22/ld/emulparams/elf_i386.sh | ||
16 | @@ -14,3 +14,13 @@ GENERATE_PIE_SCRIPT=yes | ||
17 | NO_SMALL_DATA=yes | ||
18 | SEPARATE_GOTPLT=12 | ||
19 | IREL_IN_PLT= | ||
20 | + | ||
21 | +# Linux modify the default library search path to first include | ||
22 | +# a 32-bit specific directory. | ||
23 | +case "$target" in | ||
24 | + x86_64*-linux* | i[3-7]86*-linux* | x86_64*-kfreebsd*-gnu | i[3-7]86*-kfreebsd*-gnu) | ||
25 | + case "$EMULATION_NAME" in | ||
26 | + *i386*) LIBPATH_SUFFIX=32 ;; | ||
27 | + esac | ||
28 | + ;; | ||
29 | +esac | ||