SOURCES: binutils-absolute-gnu_debuglink-path.patch - wrong branch

glen glen at pld-linux.org
Tue Oct 14 20:30:54 CEST 2008


Author: glen                         Date: Tue Oct 14 18:30:54 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- wrong branch

---- Files affected:
SOURCES:
   binutils-absolute-gnu_debuglink-path.patch (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SOURCES/binutils-absolute-gnu_debuglink-path.patch
diff -u SOURCES/binutils-absolute-gnu_debuglink-path.patch:1.5 SOURCES/binutils-absolute-gnu_debuglink-path.patch:1.6
--- SOURCES/binutils-absolute-gnu_debuglink-path.patch:1.5	Tue Oct 14 20:26:02 2008
+++ SOURCES/binutils-absolute-gnu_debuglink-path.patch	Tue Oct 14 20:30:48 2008
@@ -1,16 +1,16 @@
---- binutils-2.15.94.0.2.2/bfd/opncls.c~	2008-10-14 21:22:06.000000000 +0300
-+++ binutils-2.15.94.0.2.2/bfd/opncls.c	2008-10-14 21:24:48.052157688 +0300
-@@ -1141,6 +1141,10 @@
+--- binutils-2.18.50.0.2/bfd/opncls.c.orig	2007-10-03 17:52:57.000000000 +0200
++++ binutils-2.18.50.0.2/bfd/opncls.c	2007-10-22 22:30:03.233754376 +0200
+@@ -1241,6 +1241,10 @@
+       return NULL;
      }
-   BFD_ASSERT (strlen (dir) != 0);
  
 +  /* PLD: check the possible absolute debuginfo path (e.g. /tmp/.../usr/lib/debug/... */
 +  if (separate_debug_file_exists (basename, crc32))
 +    return basename;
 +
-   /* Strip off filename part.  */
-   for (i = strlen (dir) - 1; i >= 0; i--)
-     if (IS_DIR_SEPARATOR (dir[i]))
+   for (dirlen = strlen (abfd->filename); dirlen > 0; dirlen--)
+     if (IS_DIR_SEPARATOR (abfd->filename[dirlen - 1]))
+       break;
 @@ -1345,6 +1349,15 @@
    return find_separate_debug_file (abfd, dir);
  }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/binutils-absolute-gnu_debuglink-path.patch?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list