From: Paul Brook Date: Thu, 20 Oct 2005 03:34:12 +0000 (+0000) Subject: 2005-03-25 Daniel Jacobowitz X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76818f3b61b201b059586207db13afc9227b5bb1;p=thirdparty%2Fbinutils-gdb.git 2005-03-25 Daniel Jacobowitz * gdb/elfread.c (elf_symtab_read): Skip symbols which BFD considers special. --- diff --git a/ChangeLog.csl b/ChangeLog.csl new file mode 100644 index 00000000000..d4bf69d5883 --- /dev/null +++ b/ChangeLog.csl @@ -0,0 +1,4 @@ +2005-03-25 Daniel Jacobowitz + + * gdb/elfread.c (elf_symtab_read): Skip symbols which BFD considers + special. diff --git a/gdb/elfread.c b/gdb/elfread.c index 70a825fb42f..84af084d542 100644 --- a/gdb/elfread.c +++ b/gdb/elfread.c @@ -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