aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils/rpath-sysroot.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-02-26 12:55:24 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-28 23:14:40 +0000
commita2f5a228422f9807fa21de88ad589853817695f8 (patch)
tree79414b1959599533f1ce43a490d2a49f1b6770a0 /meta/recipes-devtools/binutils/binutils/rpath-sysroot.patch
parent79a378a47e9a87c42337a846317b556e16e89664 (diff)
downloadopenembedded-core-contrib-a2f5a228422f9807fa21de88ad589853817695f8.tar.gz
binutils: Delete recipes for 2.22
We have 2.23.1 as default now. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/rpath-sysroot.patch')
-rw-r--r--meta/recipes-devtools/binutils/binutils/rpath-sysroot.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/rpath-sysroot.patch b/meta/recipes-devtools/binutils/binutils/rpath-sysroot.patch
deleted file mode 100644
index 955699ed7b..0000000000
--- a/meta/recipes-devtools/binutils/binutils/rpath-sysroot.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-ld: -rpath must search under sysroot
-
-The -rpath argument would search the host filesystem for libraries,
-even when a sysroot was defined. For cross toolchains with targets
-compatible with the host architecture this can find incorrect
-libraries. Leave -rpath-link unmodified, as build systems in the wild
-are already using this to point to host directories.
-
-Signed-off-by: Andy Ross <andy.ross@windriver.com>
-Upstream-Status: submitted (binutils@sourceware.org 2012-08-22)
----
- ld/emultempl/elf32.em | 10 +++++++---
- 1 file changed, 7 insertions(+), 3 deletions(-)
-
-diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em
-index de51050..35e0e7e 100644
---- a/ld/emultempl/elf32.em
-+++ b/ld/emultempl/elf32.em
-@@ -1263,9 +1263,13 @@ fragment <<EOF
- EOF
- if [ "x${USE_LIBPATH}" = xyes ] ; then
- fragment <<EOF
-- if (gld${EMULATION_NAME}_search_needed (command_line.rpath,
-- &n, force))
-- break;
-+ if (command_line.rpath) {
-+ char *tmprp = gld${EMULATION_NAME}_add_sysroot (command_line.rpath);
-+ found = gld${EMULATION_NAME}_search_needed (tmprp, &n, force);
-+ free(tmprp);
-+ if (found)
-+ break;
-+ }
- EOF
- fi
- if [ "x${NATIVE}" = xyes ] ; then
---
-1.7.11.2
-