diff options
author | Nicholas Duffek <nsd@redhat.com> | 2001-04-12 19:53:09 +0000 |
---|---|---|
committer | Nicholas Duffek <nsd@redhat.com> | 2001-04-12 19:53:09 +0000 |
commit | 3f953927f2bae2d61939d1417ee82d0bf34ec7db (patch) | |
tree | 055991545f1344485296cbc0f123af332a7c17e8 /gdb/xcoffread.c | |
parent | 14d8926f95be12ac17ea4329bc70e93b335bba9e (diff) | |
download | gdb-3f953927f2bae2d61939d1417ee82d0bf34ec7db.tar.gz |
* xcoffread.c (scan_xcoff_symtab): Ignore symbols beginning with
"@".
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r-- | gdb/xcoffread.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 0b3c70726fc..586f258d90f 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -2243,8 +2243,14 @@ scan_xcoff_symtab (struct objfile *objfile) else csect_aux = main_aux[0]; - /* If symbol name starts with ".$" or "$", ignore it. */ - if (namestring[0] == '$' + /* If symbol name starts with ".$" or "$", ignore it. + + A symbol like "@FIX1" introduces a section for -bbigtoc jump + tables, which contain anonymous linker-generated code. + Ignore those sections to avoid "pc 0x... in read in psymtab, + but not in symtab" warnings from find_pc_sect_symtab. */ + + if (namestring[0] == '$' || namestring[0] == '@' || (namestring[0] == '.' && namestring[1] == '$')) break; |