diff options
author | Jiong Wang <jiong.wang@arm.com> | 2015-01-13 11:21:43 +0000 |
---|---|---|
committer | Jiong Wang <jiong.wang@arm.com> | 2015-01-13 11:21:43 +0000 |
commit | 0172429c3b2656e96ac390a9cdfc441f63df41c9 (patch) | |
tree | e163d0cbcea8a8c71c57fea09463e4b07062ec39 /bfd/elfnn-aarch64.c | |
parent | bab91cce20e052822e128c672e0570c8f3f58131 (diff) | |
download | gdb-0172429c3b2656e96ac390a9cdfc441f63df41c9.zip gdb-0172429c3b2656e96ac390a9cdfc441f63df41c9.tar.gz gdb-0172429c3b2656e96ac390a9cdfc441f63df41c9.tar.bz2 |
[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.
Diffstat (limited to 'bfd/elfnn-aarch64.c')
-rw-r--r-- | bfd/elfnn-aarch64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c index f632eee..c8401c1 100644 --- a/bfd/elfnn-aarch64.c +++ b/bfd/elfnn-aarch64.c @@ -968,7 +968,7 @@ static reloc_howto_type elfNN_aarch64_howto_table[] = 12, /* bitsize */ FALSE, /* pc_relative */ 0, /* bitpos */ - complain_overflow_dont, /* complain_on_overflow */ + complain_overflow_unsigned, /* complain_on_overflow */ bfd_elf_generic_reloc, /* special_function */ AARCH64_R_STR (TLSLE_MOVW_TPREL_G2), /* name */ FALSE, /* partial_inplace */ |