mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
* elflink.h (elf_link_output_sym): Zero syms which are
part of sections which have been excluded.
This commit is contained in:
@ -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
|
||||
|
@ -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,
|
||||
|
Reference in New Issue
Block a user