summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/tls-app.s
blob: d505295f09de4b1c8d956ec9fd1fede07c0fcf85 (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
	.text
	.globl foo
	.type foo, %function
foo:
	nop
.L2:
	nop
	mov	pc, lr

.Lpool:
	.word	lib_gd(tlsgd) + (. - .L2 - 8)
	.word	app_gd(tlsgd) + (. - .L2 - 8)
	.word	app_ld(tlsldm) + (. - .L2 - 8)
	.word	app_ld(tlsldo)
	.word	app_ie(gottpoff) + (. - .L2 - 8)
	.word	app_le(tpoff)

	.section .tdata,"awT"
	.global app_gd
app_gd:
	.space	4

	.global app_ld
app_ld:
	.space	4

	.section .tbss,"awT",%nobits
	.global app_ie
app_ie:
	.space	4

	.global app_le
app_le:
	.space	4