aboutsummaryrefslogtreecommitdiff
path: root/gdb/elfread.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-09-03 22:02:59 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-09-03 22:02:59 +0000
commitbbf1ff10ad0ef1cca9116c87f3e13c2cb2ca65fa (patch)
tree713b4b866296fde61dddef166f8f6ed38b2c1510 /gdb/elfread.c
parentc6d33b2ff2c3e7860d0ff77d3b5345acf4a9fae1 (diff)
downloadgdb-bbf1ff10ad0ef1cca9116c87f3e13c2cb2ca65fa.zip
gdb-bbf1ff10ad0ef1cca9116c87f3e13c2cb2ca65fa.tar.gz
gdb-bbf1ff10ad0ef1cca9116c87f3e13c2cb2ca65fa.tar.bz2
* elfread.c (elf_symtab_read): Don't add symbols starting with ".L"
to minimal symbols.
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r--gdb/elfread.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c
index bab5735..d9670d6 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -279,7 +279,12 @@ elf_symtab_read (abfd, addr, objfile)
ms_type = mst_text;
}
else if (sym->name[0] == '.' && sym->name[1] == 'L')
- /* Looks like a compiler-generated label. Skip it. */
+ /* Looks like a compiler-generated label. Skip it.
+ The assembler should be skipping these (to keep
+ executables small), but apparently with gcc on the
+ delta m88k SVR4, it loses. So to have us check too
+ should be harmless (but I encourage people to fix this
+ in the assembler instead of adding checks here). */
continue;
else
{