]> git.pld-linux.org Git - packages/gdb.git/blobdiff - gdb-6.5-bz203661-emit-relocs.patch
- up to 7.3.1
[packages/gdb.git] / gdb-6.5-bz203661-emit-relocs.patch
index e09c8886f6055537d89657fa958dc73ae37bffd4..61e0d56b61a230521772a69d65f4e786a427b0e6 100644 (file)
@@ -1,17 +1,17 @@
-Index: gdb-6.5/gdb/symfile.c
+Index: gdb-7.0.90.20100306/gdb/symfile.c
 ===================================================================
---- gdb-6.5.orig/gdb/symfile.c 2006-08-24 02:56:02.000000000 -0300
-+++ gdb-6.5/gdb/symfile.c      2006-08-24 02:56:36.000000000 -0300
-@@ -3739,6 +3739,12 @@ symfile_dummy_outputs (bfd *abfd, asecti
- bfd_byte *
- symfile_relocate_debug_section (bfd *abfd, asection *sectp, bfd_byte *buf)
+--- gdb-7.0.90.20100306.orig/gdb/symfile.c     2010-03-06 23:20:35.000000000 +0100
++++ gdb-7.0.90.20100306/gdb/symfile.c  2010-03-06 23:26:25.000000000 +0100
+@@ -3642,6 +3642,12 @@ default_symfile_relocate (struct objfile
  {
+   bfd *abfd = objfile->obfd;
 +  /* Executable files have all the relocations already resolved.
 +   * Handle files linked with --emit-relocs.
 +   * http://sources.redhat.com/ml/gdb/2006-08/msg00137.html  */
 +  if ((abfd->flags & EXEC_P) != 0)
 +    return NULL;
 +
-   /* We're only interested in debugging sections with relocation
+   /* We're only interested in sections with relocation
       information.  */
    if ((sectp->flags & SEC_RELOC) == 0)
This page took 0.104598 seconds and 4 git commands to generate.