aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/tls-gdgotrelm.s
blob: 50310eaa9bdfcf40c2bf45707408004b305013b3 (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	tlsdsofngdgotrelm\@
	.type	tlsdsofngdgotrelm\@,@function
	.p2align 1
tlsdsofngdgotrelm\@:
	move.w x\@:GDGOTREL16,$r10
.Lfe\@:
	.size	tlsdsofngdgotrelm\@,.Lfe\@-tlsdsofngdgotrelm\@

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

	.rept r
	doit
	.endr