mirror of
https://git.yoctoproject.org/poky
synced 2026-03-03 13:59:40 +01:00
And rebase the patches to the newer source code This patch is upstream hence deleting it from the recipe. binutils/110-arm-eabi-conf.patch (From OE-Core rev: 715bcfe3701e5ee3e12ee4af9c868a9bbf441525) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
30 lines
926 B
Diff
30 lines
926 B
Diff
#!/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 <aurel32.debian.org>
|
|
## DP: Upstream status: Debian specific
|
|
#
|
|
# Hacked to apply with quilt
|
|
# Adapted to binutils 2.18.50.0.7
|
|
Upstream-Status: Inappropriate [embedded specific]
|
|
|
|
Index: binutils-2.22/ld/emulparams/elf_i386.sh
|
|
===================================================================
|
|
--- binutils-2.22.orig/ld/emulparams/elf_i386.sh
|
|
+++ binutils-2.22/ld/emulparams/elf_i386.sh
|
|
@@ -14,3 +14,13 @@ GENERATE_PIE_SCRIPT=yes
|
|
NO_SMALL_DATA=yes
|
|
SEPARATE_GOTPLT=12
|
|
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
|