aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/compressed-plt-1c.s
blob: 651424bae0164c4c5548bff3b2f3b4d9c0604043 (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
# Define a function with all direct (%lo) references.

	.abicalls
	.option	pic0

	.include "compressed-plt-1.s"

	.macro	test_one, name, types
	.if	(\types) & LO
	li	$2,%lo(\name)
	.endif
	.endm

	.if	micromips
	.set	micromips
	.endif

	.section .text.c, "ax", @progbits
	.globl	testlo
	.ent	testlo
	.set	noreorder
testlo:
	test_all
	.end	testlo