aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/tls-thumb1.s
blob: 634511e3e41fa759711aa5a57efac90cc60d7850 (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
	.arch armv4t
	.syntax unified
	.text
text:
	.arm
	ldr	r0,1f
2:	bl	+loc(tlscall)
	nop
	.p2align 2
1:	.word	loc(tlsdesc) + (. - 2b)

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

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

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

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

	.section .tdata,"awT"
loc:	.space	4