]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/elf32-arm.c
[ARM] PR ld/21402, only override the symbol dynamic decision on undefined weak symbol.
authorRenlin Li <renlin.li@arm.com>
Mon, 25 Sep 2017 10:41:54 +0000 (11:41 +0100)
committerRenlin Li <renlin.li@arm.com>
Tue, 10 Oct 2017 15:18:07 +0000 (16:18 +0100)
commit6c699715f68be7d8c468e965fbefce997f7ed937
tree2f63e54c9b5ca2a5fda84b9aa6c663a80359e923
parentae7e78255666733d238e676a0bab14986a1483dd
[ARM] PR ld/21402, only override the symbol dynamic decision on undefined weak symbol.

Similar as aarch64 backend, arm backend only overrides the decision on undefined
weak symbols. arm backend part already emits necessary relative relocation for
this case.

bfd/

PR ld/21402
* elf32-arm.c (allocate_dynrelocs_for_symbol): Only make undefined weak
symbols into dynamic.

ld/

PR ld/21402
* testsuite/ld-arm/tls-app.d: Update address.
* testsuite/ld-arm/tls-app.r: Remove relocations.
* testsuite/ld-arm/unresolved-1-dyn.d: Update.
bfd/ChangeLog
bfd/elf32-arm.c
ld/ChangeLog
ld/testsuite/ld-arm/tls-app.d
ld/testsuite/ld-arm/tls-app.r
ld/testsuite/ld-arm/unresolved-1-dyn.d