aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/elfread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c
index a4d4f72..0425c01 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -401,7 +401,7 @@ elf_symtab_read (abfd, addr, objfile, dynamic)
}
else if ((sym->name[0] == '.' && sym->name[1] == 'L')
|| ((sym -> flags & BSF_LOCAL)
- && sym->name[0] == 'L'
+ && sym->name[0] == '$'
&& sym->name[1] == 'L'))
/* Looks like a compiler-generated label. Skip it.
The assembler should be skipping these (to keep