[AArch64] BFD_RELOC_AARCH64_TLSLE_ADD_LO12 should enable overflow check
[deliverable/binutils-gdb.git] / ld / testsuite / ld-aarch64 / tprel_add_lo12_overflow.s
1 .cpu generic
2 .global ff
3 .section .tdata,"awT",%progbits
4 .align 2
5 .type ff, %object
6 # Maximum 12bit - 16byte TCB header is the upper limit
7 # for tprel_add_lo12
8 .size ff, 4096 - 16
9 ff:
10 .zero 4096 - 16
11 .global i
12 .type i, %object
13 .size i, 4
14 i:
15 .zero 4
16 .text
17 .align 2
18 .global main
19 .type main, %function
20 main:
21 add x0, x0, #:tprel_lo12:i
22 ret
23 .size main, .-main
This page took 0.039396 seconds and 4 git commands to generate.