RISC-V: The object without priv spec attributes can be linked with any object.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-arm / tls-gdesc.s
CommitLineData
0855e32b
NS
1 .text
2 .arm
3 .globl foo
4 .type foo, %function
5foo:
6 ldr r0,1f
72:
8 blx lib_gd2(tlscall)
9 nop
10
111:
12 .word lib_gd2(tlsdesc) + (. - 2b)
13
14 .thumb
15 .globl bar
16 .type bar, %function
17bar:
18 ldr r0,1f
192:
20 blx lib_gd2(tlscall)
21 nop
22
23 .p2align 2
241:
25 .word lib_gd2(tlsdesc) + (. - 2b + 1)
26
27 ldr r0,1f
282:
29 blx r0(tlscall)
30 nop
31
32 .p2align 2
331:
34 .word r0(tlsdesc) + (. - 2b + 1)
35
36 .section .tdata,"awT"
37 .global lib_gd2
38lib_gd2:
39 .space 4
40 .globl r0
41r0: .space 4
This page took 0.419842 seconds and 4 git commands to generate.