This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] [AArch64] Only override the symbol dynamic decision on undefined weak symbol
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 29 Jun 2017 07:31:44 -0400
- Subject: [binutils-gdb] [AArch64] Only override the symbol dynamic decision on undefined weak symbol
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT ff07562f1e369b6e37eafb2a888dc48fa2453e86 ***
Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: ff07562f1e369b6e37eafb2a888dc48fa2453e86
[AArch64] Only override the symbol dynamic decision on undefined weak symbol
This fix is an adaption of the x86-64 PR ld/21402 fix to AArch64.
After the generic code deciding one symbol is not dynamic, AArch64 backend
only overrides the decision on undefined weak symbols.
bfd/
PR ld/21402
* elfnn-aarch64.c (elfNN_aarch64_allocate_dynrelocs): Only make
undefined weak symbols into dynamic.
(elfNN_aarch64_final_link_relocate): Generate runtime RELATIVE
relocation for non-dynamic symbols.
(elfNN_aarch64_finish_dynamic_symbol): Add sanity check.