0172429c3b
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.
6 lines
195 B
Makefile
6 lines
195 B
Makefile
#name: TLS offset out of range - TPREL_G2
|
|
#source: tprel_g2_overflow.s
|
|
#as:
|
|
#ld: -e0
|
|
#error: .*\(.text\+0x\d+\): relocation truncated to fit: R_AARCH64_TLSLE_MOVW_TPREL_G2 against symbol `i' .*
|
|
|