[BFD][AARCH64]Properly truncate no overflow checking relocation value for load/store...
authorRenlin Li <renlin.li@arm.com>
Fri, 27 Apr 2018 09:48:18 +0000 (10:48 +0100)
committerRenlin Li <renlin.li@arm.com>
Wed, 20 Jun 2018 13:47:37 +0000 (14:47 +0100)
commitb939d8a0dedbe0f0667500e1741e25baf03fe64c
tree4aecdd23008a0e90277150b3aca6c59454d755cb
parentfc6141f097056f830a412afebed8d81a9d72b696
[BFD][AARCH64]Properly truncate no overflow checking relocation value for load/store immediate.

bfd/ChangeLog:

2018-06-20  Renlin Li  <renlin.li@arm.com>

* elfxx-aarch64.c (_bfd_aarch64_elf_resolve_relocation): Use PG_OFFSET
to resolve BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC,
BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC,
BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC,
BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC,
BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12_NC,
BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12_NC,
BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12_NC,
BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12_NC.

ld/ChangeLog:

2018-06-20 Renlin Li  <renlin.li@arm.com>

* testsuite/ld-aarch64/emit-relocs-115.d: Update test with new value.
* testsuite/ld-aarch64/emit-relocs-534.d: Likewise.
* testsuite/ld-aarch64/emit-relocs-555.d: Likewise.
bfd/ChangeLog
bfd/elfxx-aarch64.c
ld/ChangeLog
ld/testsuite/ld-aarch64/emit-relocs-115.d
ld/testsuite/ld-aarch64/emit-relocs-534.d
ld/testsuite/ld-aarch64/emit-relocs-555.d
This page took 0.028615 seconds and 4 git commands to generate.