diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-05-05 11:01:35 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-05-05 11:01:35 +0000 |
commit | 8f33d392f4688a39cc45e7ef8b6de77318ff3a38 (patch) | |
tree | 54551e4e847a0ae68f2ffe0ab219a5e84173facc /toolchain/binutils/patches/2.17/300-012_check_ldrunpath_length.patch | |
parent | 865fa3dad4fd5d1e8c75db6e6ee14e237edf4cbd (diff) | |
download | master-187ad058-8f33d392f4688a39cc45e7ef8b6de77318ff3a38.tar.gz master-187ad058-8f33d392f4688a39cc45e7ef8b6de77318ff3a38.tar.bz2 master-187ad058-8f33d392f4688a39cc45e7ef8b6de77318ff3a38.zip |
remove binutils 2.17 and 2.19
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15619 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/binutils/patches/2.17/300-012_check_ldrunpath_length.patch')
-rw-r--r-- | toolchain/binutils/patches/2.17/300-012_check_ldrunpath_length.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/toolchain/binutils/patches/2.17/300-012_check_ldrunpath_length.patch b/toolchain/binutils/patches/2.17/300-012_check_ldrunpath_length.patch deleted file mode 100644 index 930886d3ef..0000000000 --- a/toolchain/binutils/patches/2.17/300-012_check_ldrunpath_length.patch +++ /dev/null @@ -1,46 +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 - -@DPATCH@ ---- a/ld/emultempl/elf32.em -+++ b/ld/emultempl/elf32.em -@@ -970,6 +970,8 @@ cat >>e${EMULATION_NAME}.c <<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; -@@ -1154,6 +1156,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; - if (! (bfd_elf_size_dynamic_sections - (output_bfd, command_line.soname, rpath, - command_line.filter_shlib, |