]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Thu, 20 Oct 2005 03:34:12 +0000 (03:34 +0000)
committerPaul Brook <paul@codesourcery.com>
Thu, 20 Oct 2005 03:34:12 +0000 (03:34 +0000)
* gdb/elfread.c (elf_symtab_read): Skip symbols which BFD considers
special.

ChangeLog.csl [new file with mode: 0644]
gdb/elfread.c

diff --git a/ChangeLog.csl b/ChangeLog.csl
new file mode 100644 (file)
index 0000000..d4bf69d
--- /dev/null
@@ -0,0 +1,4 @@
+2005-03-25  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb/elfread.c (elf_symtab_read): Skip symbols which BFD considers
+       special.
index 70a825fb42f88f0cdcd45ad11e7740a92c3c847a..84af084d5427ad88c685b48aee3b73eab0705b91 100644 (file)
@@ -203,6 +203,12 @@ elf_symtab_read (struct objfile *objfile, int dynamic)
              continue;
            }
 
+         /* Skip "special" symbols, e.g. ARM mapping symbols.  These are
+            symbols which do not correspond to objects in the symbol table,
+            but have some other target-specific meaning.  */
+         if (bfd_is_target_special_symbol (objfile->obfd, sym))
+           continue;
+
           offset = ANOFFSET (objfile->section_offsets, sym->section->index);
          if (dynamic
              && sym->section == &bfd_und_section