From c15f20a124cdc4966014ff624a06ab5a325042cd Mon Sep 17 00:00:00 2001 From: Scott Garman Date: Wed, 22 Dec 2010 10:10:33 -0800 Subject: binutils: upgrade to 2.21 and add libtool sysroot support * Upgraded binutils to v2.21 * Incorporated libtool sysroot patches from OE * Removed patches no longer needed or obsoleted by OE patches Signed-off-by: Scott Garman --- .../binutils-x86_64_i386_biarch.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils-2.21/binutils-x86_64_i386_biarch.patch (limited to 'meta/recipes-devtools/binutils/binutils-2.21/binutils-x86_64_i386_biarch.patch') diff --git a/meta/recipes-devtools/binutils/binutils-2.21/binutils-x86_64_i386_biarch.patch b/meta/recipes-devtools/binutils/binutils-2.21/binutils-x86_64_i386_biarch.patch new file mode 100644 index 000000000..4cd9e2243 --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils-2.21/binutils-x86_64_i386_biarch.patch @@ -0,0 +1,26 @@ +#!/bin/sh -e +## 127_x86_64_i386_biarch.dpatch +## +## DP: Description: Add (/usr)/lib32 to the search paths on x86_64. +## DP: Author: Aurelien Jarno +## DP: Upstream status: Debian specific +# +# Hacked to apply with quilt +# Adapted to binutils 2.18.50.0.7 + +--- binutils/ld/emulparams/elf_i386.sh ++++ binutils/ld/emulparams/elf_i386.sh +@@ -12,3 +12,13 @@ + SEPARATE_GOTPLT=12 + SHARABLE_SECTIONS=yes + IREL_IN_PLT= ++ ++# Linux modify the default library search path to first include ++# a 32-bit specific directory. ++case "$target" in ++ x86_64*-linux* | i[3-7]86*-linux* | x86_64*-kfreebsd*-gnu | i[3-7]86*-kfreebsd*-gnu) ++ case "$EMULATION_NAME" in ++ *i386*) LIBPATH_SUFFIX=32 ;; ++ esac ++ ;; ++esac -- cgit v1.2.3