summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/pic-reloc-lui.s
blob: 3ad35708aa40646d77e0b7860fe5b29e70e0bcd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
	.text
	.globl	foo
	.ent	foo
foo:
	lui	$2, %hi(bar)
	addiu	$2, %lo(bar)
	lui	$2, %hi(bar)
	addiu	$2, %lo(bar)
	.end	foo

# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
	.align	4, 0
	.space	16