aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/tls-mixed.s
blob: af2377db5f8d2a647b099613597f1054c33bef28 (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
	.text
	.globl foo
	.type foo, %function
foo:
	nop
.L1:
	nop	
.L2:
	bl	lib_gd2(tlscall) 
	mov	pc, lr

.Lpool:
	.word	lib_gd(tlsgd)	+  (. - .L1 - 8)
.Lpool2:
	.word	lib_gd2(tlsdesc) + (. - .L2)
	.word	lib_gd2(tlsgd)	+  (. - .L2 - 8)

	.section .tdata,"awT"
	.global lib_gd
lib_gd:
	.space	4 
	.global lib_gd2
lib_gd2:
	.space	4