This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] ELF/LD: Always consider STB_LOCAL symbols local
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 20 Apr 2017 12:50:58 -0400
- Subject: [binutils-gdb] ELF/LD: Always consider STB_LOCAL symbols local
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 0fad29560ee055f1253a8e40bfc09b413117480d ***
Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 0fad29560ee055f1253a8e40bfc09b413117480d
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.