aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/tls-longplt.s
blob: 37d166f980c5da8753988f319c08d4e95123124b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
	.syntax unified
	.arch armv6t2
	.text
text:
	.arm
	ldr	r0,1f
2:	blx	udefw(tlscall)
	nop
	.p2align 2
1:	.word	udefw(tlsdesc) + (. - 2b)

	.thumb
	ldr	r0,1f
2:	blx	udefw(tlscall)
	nop
	.p2align 2
1:	.word	udefw(tlsdesc) + (. - 2b + 1)

	.section ".foo","ax"
foo:
	.arm
	ldr	r0,1f
2:	blx	glob1(tlscall)
	nop
	.p2align 2
1:	.word	glob1(tlsdesc) + (. - 2b)

	.arm
	ldr	r0,1f
2:	blx	udefw(tlscall)
	nop
	.p2align 2
1:	.word	udefw(tlsdesc) + (. - 2b)

	.thumb
	ldr	r0,1f
2:	blx	udefw(tlscall)
	nop
	.p2align 2
1:	.word	udefw(tlsdesc) + (. - 2b + 1)

	.section .tdata,"awT"
	@ glob used by tls-longplt-lib
	.type	glob, %object
	.globl	glob
glob:	.space	4
	.globl  udefw
	.weak	udefw