aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/tls-gottprelm.s
blob: 2853b314fd3ccf053904c52c8068d699894bf88e (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
	.text

	.ifndef r
	.set r,1
	.endif

	.macro doit
	.global	tlsdsofngottprelm\@
	.type	tlsdsofngottprelm\@,@function
	.p2align 1
tlsdsofngottprelm\@:
	move.w x\@:TPOFFGOT16,$r10
.Lfe\@:
	.size	tlsdsofngottprelm\@,.Lfe\@-tlsdsofngottprelm\@

	.globl x\@
	.section	.tdata,"awT",@progbits
	.p2align 0
	.type	x\@, @object
	.size	x\@, 1
x\@:
	.byte	40
	.previous
	.endm

	.rept r
	doit
	.endr