summaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/patches/2.17/300-012_check_ldrunpath_length.patch
diff options
context:
space:
mode:
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.patch10
1 files changed, 4 insertions, 6 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
index c47bcca13..930886d3e 100644
--- a/toolchain/binutils/patches/2.17/300-012_check_ldrunpath_length.patch
+++ b/toolchain/binutils/patches/2.17/300-012_check_ldrunpath_length.patch
@@ -24,11 +24,9 @@ esac
exit 0
@DPATCH@
-Index: binutils-2.17/ld/emultempl/elf32.em
-===================================================================
---- binutils-2.17.orig/ld/emultempl/elf32.em 2007-06-28 09:19:34.796946512 +0200
-+++ binutils-2.17/ld/emultempl/elf32.em 2007-06-28 09:19:36.178736448 +0200
-@@ -970,6 +970,8 @@
+--- 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");
@@ -37,7 +35,7 @@ Index: binutils-2.17/ld/emultempl/elf32.em
if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
force))
break;
-@@ -1154,6 +1156,8 @@
+@@ -1154,6 +1156,8 @@ gld${EMULATION_NAME}_before_allocation (
rpath = command_line.rpath;
if (rpath == NULL)
rpath = (const char *) getenv ("LD_RUN_PATH");