aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/compressed-plt-1d.s
blob: 8163c8e16f60ce8983eb4ca9c1d88e8384c06a7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Create a GOT reference for every function under test.

	.abicalls
	.option pic2

	.include "compressed-plt-1.s"

	.macro	test_one, name, types
	lw	$2,%got(\name)($gp)
	.endm

	.if	micromips
	.set	micromips
	.endif

	.section .text.d, "ax", @progbits
	.globl	testgot
	.ent	testgot
	.set	noreorder
testgot:
	test_all
	.end	testgot