mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-30 00:52:16 +08:00
* elfcode.h (elf_link_add_object_symbols): Only examine weakdef if
we are using an ELF hash table.
This commit is contained in:
@ -4339,6 +4339,7 @@ elf_link_add_object_symbols (abfd, info)
|
||||
&& definition
|
||||
&& (flags & BSF_WEAK) != 0
|
||||
&& ELF_ST_TYPE (sym.st_info) != STT_FUNC
|
||||
&& info->hash->creator->flavour == bfd_target_elf_flavour
|
||||
&& (*sym_hash)->weakdef == NULL)
|
||||
{
|
||||
/* Keep a list of all weak defined non function symbols from
|
||||
|
Reference in New Issue
Block a user