2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>

* gdb/elfread.c (elf_symtab_read): Skip symbols which BFD considers
	special.
This commit is contained in:
Paul Brook
2005-10-20 03:34:12 +00:00
parent 25cf6930c8
commit 76818f3b61
2 changed files with 10 additions and 0 deletions

4
ChangeLog.csl Normal file
View File

@@ -0,0 +1,4 @@
2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
* gdb/elfread.c (elf_symtab_read): Skip symbols which BFD considers
special.

View 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