diff options
author | Jiong Wang <jiong.wang@arm.com> | 2017-06-29 11:47:43 +0100 |
---|---|---|
committer | Jiong Wang <jiong.wang@arm.com> | 2017-06-29 11:47:43 +0100 |
commit | ff07562f1e369b6e37eafb2a888dc48fa2453e86 (patch) | |
tree | 02a834f2d636d5382e44a33e6c6b854cd1c66366 /bfd/cpu-rs6000.c | |
parent | 2aff25ba76035d2f1f48ea8a6c4b7e498ee31790 (diff) | |
download | gdb-ff07562f1e369b6e37eafb2a888dc48fa2453e86.zip gdb-ff07562f1e369b6e37eafb2a888dc48fa2453e86.tar.gz gdb-ff07562f1e369b6e37eafb2a888dc48fa2453e86.tar.bz2 |
[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.
Diffstat (limited to 'bfd/cpu-rs6000.c')
0 files changed, 0 insertions, 0 deletions