aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/pic-and-nonpic-5a.s
blob: e85655fbe1a6b005da0763fd5d064323ba582fc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
	.abicalls
	.option	pic0
	.global	__start
	.type	__start, @function
	.ent	__start
__start:
	lui	$2,%hi(foo)
	addiu	$2,$2,%lo(foo)
	lui	$2,%hi(obj1)
	addiu	$2,$2,%lo(obj1)
	.end	__start

	.data
	.word	foo
	.word	bar
	.word	obj1
	.word	obj2