aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/tls-hidden4b.s
blob: d6deb002d62854710efcd1096d0ff710938b95d7 (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
	.macro	load
	.text
	lw	$4,%gottprel(foo\@)($gp)

	.global foo\@
	.type   foo\@,@object
	.size   foo\@,4
	.section .tdata,"awT",@progbits
foo\@:
	.word   \@
	.endm

	.rept	4
	load
	.endr

	.text
	.macro	load2
	lw	$4,%got(undefb\@)($gp)
	.endm

	.rept	0x3000
	load2
	.endr

	.data
	.word	undef