summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch')
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch
index 3944f2e0b8..d31f80cd3d 100644
--- a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch
@@ -25,11 +25,11 @@ exit 0
25Upstream-Status: Inappropriate [debian patch] 25Upstream-Status: Inappropriate [debian patch]
26 26
27@DPATCH@ 27@DPATCH@
28Index: src/ld/emultempl/elf32.em 28Index: binutils-2.22/ld/emultempl/elf32.em
29=================================================================== 29===================================================================
30--- src.orig/ld/emultempl/elf32.em 2009-09-23 06:54:28.000000000 -0700 30--- binutils-2.22.orig/ld/emultempl/elf32.em
31+++ src/ld/emultempl/elf32.em 2009-10-06 10:58:16.883414592 -0700 31+++ binutils-2.22/ld/emultempl/elf32.em
32@@ -1237,6 +1237,8 @@ fragment <<EOF 32@@ -1273,6 +1273,8 @@ fragment <<EOF
33 && command_line.rpath == NULL) 33 && command_line.rpath == NULL)
34 { 34 {
35 lib_path = (const char *) getenv ("LD_RUN_PATH"); 35 lib_path = (const char *) getenv ("LD_RUN_PATH");
@@ -38,7 +38,7 @@ Index: src/ld/emultempl/elf32.em
38 if (gld${EMULATION_NAME}_search_needed (lib_path, &n, 38 if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
39 force)) 39 force))
40 break; 40 break;
41@@ -1463,6 +1465,8 @@ gld${EMULATION_NAME}_before_allocation ( 41@@ -1500,6 +1502,8 @@ gld${EMULATION_NAME}_before_allocation (
42 rpath = command_line.rpath; 42 rpath = command_line.rpath;
43 if (rpath == NULL) 43 if (rpath == NULL)
44 rpath = (const char *) getenv ("LD_RUN_PATH"); 44 rpath = (const char *) getenv ("LD_RUN_PATH");
@@ -46,4 +46,4 @@ Index: src/ld/emultempl/elf32.em
46+ rpath = NULL; 46+ rpath = NULL;
47 47
48 for (abfd = link_info.input_bfds; abfd; abfd = abfd->link_next) 48 for (abfd = link_info.input_bfds; abfd; abfd = abfd->link_next)
49 { 49 if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)