[AArch64] Enable overflow check for TLSLE_MOVW_TPREL_G2
authorJiong Wang <jiong.wang@arm.com>
Tue, 13 Jan 2015 11:21:43 +0000 (11:21 +0000)
committerJiong Wang <jiong.wang@arm.com>
Tue, 13 Jan 2015 11:21:43 +0000 (11:21 +0000)
commit0172429c3b2656e96ac390a9cdfc441f63df41c9
treee163d0cbcea8a8c71c57fea09463e4b07062ec39
parentbab91cce20e052822e128c672e0570c8f3f58131
[AArch64] Enable overflow check for TLSLE_MOVW_TPREL_G2

  bfd/
    * elfnn-aarch64.c: (elfNN_aarch64_howto_table): Enable overflow check for
    TLSLE_MOVW_TPREL_G2.

  ld/testsuite/
    * ld-aarch64/tprel_g2_overflow.s: New testcase.
    * ld-aarch64/tprel_g2_overflow.d: New expectation file.
    * ld-aarch64/aarch64-elf.exp: Run new testcase.
bfd/ChangeLog
bfd/elfnn-aarch64.c
ld/testsuite/ChangeLog
ld/testsuite/ld-aarch64/aarch64-elf.exp
ld/testsuite/ld-aarch64/tprel_g2_overflow.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/tprel_g2_overflow.s [new file with mode: 0644]