diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-10-05 18:40:38 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-10-05 18:40:38 +0000 |
commit | 961d49f15b748713eac4dc65af5213594bc4d131 (patch) | |
tree | 9a4d28e4c863761a3b39918ae3ad3522eb877864 /toolchain/binutils/patches/2.22/300-012_check_ldrunpath_length.patch | |
parent | 9c2be8be3918953f4a3624ba4351e2f546dbb938 (diff) | |
download | upstream-961d49f15b748713eac4dc65af5213594bc4d131.tar.gz upstream-961d49f15b748713eac4dc65af5213594bc4d131.tar.bz2 upstream-961d49f15b748713eac4dc65af5213594bc4d131.zip |
binutils: remove old versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42776 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/binutils/patches/2.22/300-012_check_ldrunpath_length.patch')
-rw-r--r-- | toolchain/binutils/patches/2.22/300-012_check_ldrunpath_length.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/toolchain/binutils/patches/2.22/300-012_check_ldrunpath_length.patch b/toolchain/binutils/patches/2.22/300-012_check_ldrunpath_length.patch deleted file mode 100644 index 1e04000340..0000000000 --- a/toolchain/binutils/patches/2.22/300-012_check_ldrunpath_length.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/ld/emultempl/elf32.em -+++ b/ld/emultempl/elf32.em -@@ -1273,6 +1273,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; -@@ -1500,6 +1502,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) - if (bfd_get_flavour (abfd) == bfd_target_elf_flavour) |