* elfread.c (elf_symtab_read): Don't add symbols starting with ".L"

to minimal symbols.
This commit is contained in:
Jim Kingdon 1993-09-03 22:02:59 +00:00
parent c6d33b2ff2
commit bbf1ff10ad
1 changed files with 6 additions and 1 deletions

View File

@ -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
{