* elflink.h (elf_link_output_sym): Zero syms which are

part of sections which have been excluded.
This commit is contained in:
Catherine Moore 1999-01-28 17:17:16 +00:00
parent 7f1efb4486
commit 98790d3a95
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Thu Jan 28 11:08:16 1999 Catherine Moore <clm@cygnus.com>
* elflink.h (elf_link_output_sym): Zero syms which are
part of sections which have been excluded.
Wed Jan 27 13:35:35 1999 Stan Cox <scox@cygnus.com>
* coff-arm.c (_bfd_coff_arm_set_private_flags): Changed F_PIC

View File

@ -4325,6 +4325,8 @@ elf_link_output_sym (finfo, name, elfsym, input_sec)
if (name == (const char *) NULL || *name == '\0')
elfsym->st_name = 0;
else if (input_sec->flags & SEC_EXCLUDE)
elfsym->st_name = 0;
else
{
elfsym->st_name = (unsigned long) _bfd_stringtab_add (finfo->symstrtab,