]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[AArch64] Enable overflow check for R_AARCH64_TLSLE_ADD_TPREL_HI12
authorJiong Wang <jiong.wang@arm.com>
Tue, 13 Jan 2015 11:18:10 +0000 (11:18 +0000)
committerJiong Wang <jiong.wang@arm.com>
Tue, 13 Jan 2015 11:18:10 +0000 (11:18 +0000)
commitbab91cce20e052822e128c672e0570c8f3f58131
treeaff1fe248016ea56a47272fa83b994f62806c9e0
parent92fc2e6978d9a7c8324c7e851dbee59e22ec7a37
[AArch64] Enable overflow check for R_AARCH64_TLSLE_ADD_TPREL_HI12

  bfd/
    PR ld/17415
    * elfnn-aarch64.c (elfNN_aarch64_howto_table): Mark
    R_AARCH64_TLSLE_ADD_TPREL_HI12 as complain_overflow_unsigned.
    * elfxx-aarch64.c (_bfd_aarch64_elf_resolve_relocation): Correct the bit
    mask.

  ld/testsuite/
    PR ld/17415
    * ld-aarch64/pr17415.s: Source file for new test.
    * ld-aarch64/pr17415.d: Expect file for new test.
    * ld-aarch64/aarch64-elf.exp: Run the new test.
bfd/ChangeLog
bfd/elfnn-aarch64.c
bfd/elfxx-aarch64.c
ld/testsuite/ChangeLog
ld/testsuite/ld-aarch64/aarch64-elf.exp
ld/testsuite/ld-aarch64/pr17415.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/pr17415.s [new file with mode: 0644]