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.
22 lines
310 B
ArmAsm
22 lines
310 B
ArmAsm
.cpu generic
|
|
.global ff
|
|
.section .tbss,"awT",%nobits
|
|
.align 3
|
|
.type ff, %object
|
|
.size ff, 562949953421312
|
|
ff:
|
|
.zero 562949953421312
|
|
.global i
|
|
.align 2
|
|
.type i, %object
|
|
.size i, 4
|
|
i:
|
|
.zero 4
|
|
.text
|
|
.align 2
|
|
.global main
|
|
.type main, %function
|
|
main:
|
|
movz x0, #:tprel_g2:i
|
|
ret
|
|
.size main, .-main
|