aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/pic-and-nonpic-5a.s
blob: 7452f5e8e3ae838999337f55994655ae2ed9645c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
	.abicalls
	.option	pic0
	.global	__start
	.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