gdb: LoongArch: Improve the handling of atomic sequence
[binutils-gdb.git] / ld / testsuite / ld-arm / tls-gdesc-neg.s
blob78ec32f593679ba911c215b7ff76b85a47232a1f
1 .text
2 .arm
3 .globl foo
4 .type foo, %function
5 foo:
6 ldr r0, 1f
7 b 2f
8 1:
9 @ Negative addend for R_ARM_TLS_GOTDESC.
10 .word tlsdata(tlsdesc) + (. - 2f + 0)
12 blx tlsdata(tlscall)
14 .thumb
15 .globl bar
16 .type bar, %function
17 bar:
18 ldr r0, 1f
19 b 2f
21 @ Negative addend for R_ARM_TLS_GOTDESC.
22 .word tlsdata(tlsdesc) + (. - 2f + 1)
24 blx tlsdata(tlscall)
26 .section .tdata,"awT"
27 .global tlsdata
28 tlsdata:
29 .space 4