From: Kung Hsu Date: Fri, 7 Jul 1995 21:44:57 +0000 (+0000) Subject: * elfread.c (elf_symtab_read): Fix a bug ignoring compiler X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d97d5b48abd98279f45b0d59ec1bd5843b942be4;p=binutils-gdb.git * elfread.c (elf_symtab_read): Fix a bug ignoring compiler generated internal labels ($LM...). --- diff --git a/gdb/elfread.c b/gdb/elfread.c index a4d4f72eeda..0425c01ce42 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