mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-11 13:02:10 +08:00
Tue Jul 26 18:20:46 1994 Paul Flinders (ptf@smee)
* elfread.c (elf_symtab_read): Discard compiler labels generated by the Solaris 2.1/Intel SunPro compiler.
This commit is contained in:
parent
f68880ead9
commit
d54b2c5069
@ -1,3 +1,8 @@
|
||||
Tue Jul 26 18:20:46 1994 Paul Flinders (ptf@smee)
|
||||
|
||||
* elfread.c (elf_symtab_read): Discard compiler labels generated
|
||||
by the Solaris 2.1/Intel SunPro compiler.
|
||||
|
||||
Mon Jul 25 18:19:24 1994 Stu Grossman (grossman@cygnus.com)
|
||||
|
||||
* target.c (nomemory): Fix prototype and routine to take correct
|
||||
|
@ -386,7 +386,10 @@ elf_symtab_read (abfd, addr, objfile, dynamic)
|
||||
{
|
||||
ms_type = mst_text;
|
||||
}
|
||||
else if (sym->name[0] == '.' && sym->name[1] == 'L')
|
||||
else if ((sym->name[0] == '.' && sym->name[1] == 'L')
|
||||
|| ((sym -> flags & BSF_LOCAL)
|
||||
&& sym->name[0] == 'L'
|
||||
&& sym->name[1] == 'L'))
|
||||
/* Looks like a compiler-generated label. Skip it.
|
||||
The assembler should be skipping these (to keep
|
||||
executables small), but apparently with gcc on the
|
||||
|
Loading…
Reference in New Issue
Block a user