mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-08 00:23:09 +00:00
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:
4
ChangeLog.csl
Normal file
4
ChangeLog.csl
Normal 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.
|
||||||
@@ -203,6 +203,12 @@ elf_symtab_read (struct objfile *objfile, int dynamic)
|
|||||||
continue;
|
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);
|
offset = ANOFFSET (objfile->section_offsets, sym->section->index);
|
||||||
if (dynamic
|
if (dynamic
|
||||||
&& sym->section == &bfd_und_section
|
&& sym->section == &bfd_und_section
|
||||||
|
|||||||
Reference in New Issue
Block a user