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:19:49 +0100 |
commit | 4810404f22d7cf8849dc32da68dd33a156cac407 (patch) | |
tree | 384b62f46ea68bde23049ffea3759c98a27875aa /meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-012_check_ldrunpath_length.patch | |
parent | c9d1e68a137960b6cdc81b875c087a8c1031dcbc (diff) | |
download | openembedded-core-4810404f22d7cf8849dc32da68dd33a156cac407.tar.gz openembedded-core-4810404f22d7cf8849dc32da68dd33a156cac407.tar.bz2 openembedded-core-4810404f22d7cf8849dc32da68dd33a156cac407.tar.xz openembedded-core-4810404f22d7cf8849dc32da68dd33a156cac407.zip |
binutils: upgrade from 2.21 to 2.21.1
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-012_check_ldrunpath_length.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-012_check_ldrunpath_length.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-012_check_ldrunpath_length.patch b/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-012_check_ldrunpath_length.patch deleted file mode 100644 index 3944f2e0b..000000000 --- a/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-012_check_ldrunpath_length.patch +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh -e -## 012_check_ldrunpath_length.dpatch by Chris Chimelis <chris@debian.org> -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Only generate an RPATH entry if LD_RUN_PATH is not empty, for -## DP: cases where -rpath isn't specified. (#151024) - -if [ $# -ne 1 ]; then - echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" - exit 1 -fi - -[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts -patch_opts="${patch_opts:--f --no-backup-if-mismatch}" - -case "$1" in - -patch) patch $patch_opts -p1 < $0;; - -unpatch) patch $patch_opts -p1 -R < $0;; - *) - echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" - exit 1;; -esac - -exit 0 -Upstream-Status: Inappropriate [debian patch] - -@DPATCH@ -Index: src/ld/emultempl/elf32.em -=================================================================== ---- src.orig/ld/emultempl/elf32.em 2009-09-23 06:54:28.000000000 -0700 -+++ src/ld/emultempl/elf32.em 2009-10-06 10:58:16.883414592 -0700 -@@ -1237,6 +1237,8 @@ fragment <<EOF - && command_line.rpath == NULL) - { - lib_path = (const char *) getenv ("LD_RUN_PATH"); -+ if ((lib_path) && (strlen (lib_path) == 0)) -+ lib_path = NULL; - if (gld${EMULATION_NAME}_search_needed (lib_path, &n, - force)) - break; -@@ -1463,6 +1465,8 @@ gld${EMULATION_NAME}_before_allocation ( - rpath = command_line.rpath; - if (rpath == NULL) - rpath = (const char *) getenv ("LD_RUN_PATH"); -+ if ((rpath) && (strlen (rpath) == 0)) -+ rpath = NULL; - - for (abfd = link_info.input_bfds; abfd; abfd = abfd->link_next) - { |