ELF/LD: Always consider STB_LOCAL symbols local
authorMaciej W. Rozycki <macro@imgtec.com>
Thu, 13 Apr 2017 09:26:05 +0000 (10:26 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Thu, 20 Apr 2017 15:24:52 +0000 (16:24 +0100)
commit0fad29560ee055f1253a8e40bfc09b413117480d
treec4e742447c8e6ecb262bc0a1805f2fc48d279d93
parent31321c8031315c8b5f7c6b73e464f14ad90310b6
ELF/LD: Always consider STB_LOCAL symbols local

Do not require forced local (STB_LOCAL) symbols to have a definition in
a regular file to be considered to resolve local to the current module,
matching `elf_link_renumber_local_hash_table_dynsyms'.  In the absence
of a regular definition any reference to a STB_LOCAL symbol will have to
be garbage collected along with the undefined symbol itself, or the link
will eventually fail.  Either way the symbol concerned is not going to
be external.

bfd/
* elflink.c (_bfd_elf_symbol_refs_local_p): Always return TRUE
if forced local.
bfd/ChangeLog
bfd/elflink.c
This page took 0.0342 seconds and 4 git commands to generate.