old-cross-binutils/ld/testsuite/ld-aarch64/tprel_g2_overflow.s
Jiong Wang 0172429c3b [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.
2015-01-13 11:21:43 +00:00

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