[Patch, AArch64] Enable overflow check for TLSLE_MOVW_TPREL_G2
Jiong Wang
jiong.wang@arm.com
Mon Jan 12 15:00:00 GMT 2015
currently, this relocation is not generated by gcc, but maybe future or by hand assembly.
the relocation value is calculated correctly, overflow info kept while the overflow check is
not enabled.
pass native ld test.
ok for trunk?
thanks.
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: overflow-check-tprel-g2.patch
Type: text/x-patch
Size: 1953 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20150112/a0b6ffdd/attachment.bin>
More information about the Binutils
mailing list