patches/binutils/2.20/140-check_ldrunpath_length.patch
changeset 1621 60446d2e5660
parent 1614 3f76cdbceb6e
     1.1 --- a/patches/binutils/2.20/140-check_ldrunpath_length.patch	Tue Oct 27 20:06:46 2009 +0100
     1.2 +++ b/patches/binutils/2.20/140-check_ldrunpath_length.patch	Wed Nov 11 14:44:53 2009 -0800
     1.3 @@ -26,7 +26,7 @@
     1.4  @DPATCH@
     1.5  diff -urNad /home/james/debian/packages/binutils/new/binutils-2.15/ld/emultempl/elf32.em binutils-2.15/ld/emultempl/elf32.em
     1.6  --- /home/james/debian/packages/binutils/new/binutils-2.15/ld/emultempl/elf32.em	2004-05-21 23:12:58.000000000 +0100
     1.7 -+++ binutils-2.15/ld/emultempl/elf32.em	2004-05-21 23:12:59.000000000 +0100
     1.8 ++++ binutils-2.20/ld/emultempl/elf32.em	2004-05-21 23:12:59.000000000 +0100
     1.9  @@ -692,6 +692,8 @@
    1.10   	      && command_line.rpath == NULL)
    1.11   	    {
    1.12 @@ -43,5 +43,5 @@
    1.13  +  if ((rpath) && (strlen (rpath) == 0))
    1.14  +      rpath = NULL;
    1.15     if (! (bfd_elf_size_dynamic_sections
    1.16 - 	 (output_bfd, command_line.soname, rpath,
    1.17 + 	 (link_info.output_bfd, command_line.soname, rpath,
    1.18   	  command_line.filter_shlib,