[oe-commits] Khem Raj : binutils-cvs: Refresh binutils-uclibc-300-012_check_ldrunpath_length. patch with latest CVS.
git version control
git at git.openembedded.org
Tue Oct 6 22:31:53 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 44943f01becfb8e61bcaeb40f47e2fd64552b276
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=44943f01becfb8e61bcaeb40f47e2fd64552b276
Author: Khem Raj <raj.khem at gmail.com>
Date: Tue Oct 6 15:27:31 2009 -0700
binutils-cvs: Refresh binutils-uclibc-300-012_check_ldrunpath_length.patch with latest CVS.
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
...ils-uclibc-300-012_check_ldrunpath_length.patch | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/recipes/binutils/binutils-cvs/binutils-uclibc-300-012_check_ldrunpath_length.patch b/recipes/binutils/binutils-cvs/binutils-uclibc-300-012_check_ldrunpath_length.patch
index 498651a..b6f5a25 100644
--- a/recipes/binutils/binutils-cvs/binutils-uclibc-300-012_check_ldrunpath_length.patch
+++ b/recipes/binutils/binutils-cvs/binutils-uclibc-300-012_check_ldrunpath_length.patch
@@ -24,10 +24,11 @@ esac
exit 0
@DPATCH@
-diff -urNad /home/james/debian/packages/binutils/new/binutils-2.15/ld/emultempl/elf32.em binutils-2.15/ld/emultempl/elf32.em
---- /home/james/debian/packages/binutils/new/binutils-2.15/ld/emultempl/elf32.em 2004-05-21 23:12:58.000000000 +0100
-+++ binutils-2.15/ld/emultempl/elf32.em 2004-05-21 23:12:59.000000000 +0100
-@@ -692,6 +692,8 @@
+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");
@@ -36,12 +37,12 @@ diff -urNad /home/james/debian/packages/binutils/new/binutils-2.15/ld/emultempl/
if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
force))
break;
-@@ -871,6 +873,8 @@
+@@ -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;
- if (! (bfd_elf_size_dynamic_sections
- (output_bfd, command_line.soname, rpath,
- command_line.filter_shlib,
++ rpath = NULL;
+
+ for (abfd = link_info.input_bfds; abfd; abfd = abfd->link_next)
+ {
More information about the Openembedded-commits
mailing list