diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-07-06 17:26:38 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-08 16:39:09 +0100 |
commit | 3f4f5c14ac8088d523c8c884f3dfb5f7ea1e5fdc (patch) | |
tree | a498a134a7c56bab7fe6cb7b9b37cb463b4515e6 /meta/recipes-devtools/binutils/binutils/binutils-x86_64_i386_biarch.patch | |
parent | cd16591d6cb5d37d027ac16211904d4d7db3033e (diff) | |
download | poky-3f4f5c14ac8088d523c8c884f3dfb5f7ea1e5fdc.tar.gz |
binutils: upgrade from 2.21 to 2.21.1
(From OE-Core rev: 4810404f22d7cf8849dc32da68dd33a156cac407)
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/binutils-x86_64_i386_biarch.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils/binutils-x86_64_i386_biarch.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/binutils-x86_64_i386_biarch.patch b/meta/recipes-devtools/binutils/binutils/binutils-x86_64_i386_biarch.patch new file mode 100644 index 0000000000..16c775c550 --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils/binutils-x86_64_i386_biarch.patch | |||
@@ -0,0 +1,27 @@ | |||
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 | --- binutils/ld/emulparams/elf_i386.sh | ||
13 | +++ binutils/ld/emulparams/elf_i386.sh | ||
14 | @@ -12,3 +12,13 @@ | ||
15 | SEPARATE_GOTPLT=12 | ||
16 | SHARABLE_SECTIONS=yes | ||
17 | IREL_IN_PLT= | ||
18 | + | ||
19 | +# Linux modify the default library search path to first include | ||
20 | +# a 32-bit specific directory. | ||
21 | +case "$target" in | ||
22 | + x86_64*-linux* | i[3-7]86*-linux* | x86_64*-kfreebsd*-gnu | i[3-7]86*-kfreebsd*-gnu) | ||
23 | + case "$EMULATION_NAME" in | ||
24 | + *i386*) LIBPATH_SUFFIX=32 ;; | ||
25 | + esac | ||
26 | + ;; | ||
27 | +esac | ||