diff options
author | Siddhesh Poyarekar <siddesh.poyarekar@arm.com> | 2020-09-01 14:25:52 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@gotplt.org> | 2020-09-10 21:42:37 +0530 |
commit | c7cd291722779c9d4703ed0010388fe394c644c8 (patch) | |
tree | 23053bc30ff3bc5f846937c4588493635f3d14c1 /libiberty/bsearch_r.c | |
parent | 93d49941edbb5274bee6ce3e547a07c7ce4c4301 (diff) | |
download | gdb-c7cd291722779c9d4703ed0010388fe394c644c8.zip gdb-c7cd291722779c9d4703ed0010388fe394c644c8.tar.gz gdb-c7cd291722779c9d4703ed0010388fe394c644c8.tar.bz2 |
aarch64: Return an error on conditional branch to an undefined symbol
The fix in 7e05773767820b441b23a16628b55c98cb1aef46 introduced a PLT
for conditional jumps when the target symbol is undefined. This is
incorrect because conditional branch relocations are not allowed to
clobber IP0/IP1 and hence, should not result in a dynamic relocation.
Revert that change and in its place, issue an error when the target
symbol is undefined.
bfd/
2020-09-10 Siddhesh Poyarekar <siddesh.poyarekar@arm.com>
* elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Revert
changes in 7e05773767820b441b23a16628b55c98cb1aef46. Set
error for undefined symbol in BFD_RELOC_AARCH64_BRANCH19 and
BFD_RELOC_AARCH64_TSTBR14 relocations.
ld/
2020-09-10 Siddhesh Poyarekar <siddesh.poyarekar@arm.com>
* testsuite/ld-aarch64/emit-relocs-560.d: Expect error instead
of valid output.
Diffstat (limited to 'libiberty/bsearch_r.c')
0 files changed, 0 insertions, 0 deletions