mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-29 04:53:56 +08:00
* elfread.c (elf_symtab_read): Don't add symbols starting with ".L"
to minimal symbols.
This commit is contained in:
parent
408f6c34c8
commit
5ec3ba257b
@ -1,5 +1,8 @@
|
||||
Fri Sep 3 08:57:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||
|
||||
* elfread.c (elf_symtab_read): Don't add symbols starting with ".L"
|
||||
to minimal symbols.
|
||||
|
||||
* target.c (pop_target): Don't try to deal with the stack becoming
|
||||
empty. Shouldn't happen and the code that tried was broken.
|
||||
|
||||
|
@ -278,6 +278,9 @@ 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. */
|
||||
continue;
|
||||
else
|
||||
{
|
||||
ms_type = mst_file_text;
|
||||
|
Loading…
Reference in New Issue
Block a user