summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mips/ulh-reloc.s
blob: 42e895930c6023f3cdc758156a57e70076fc3a44 (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
25
26
27
28
29
30
31
32
33
	.ent	func
func:
	ulh	$4,($4)
	ulh	$4,0x7ffe($4)
	ulh	$4,0x7fff($4)
	ulh	$4,0x8000($4)

	ulh	$4,($5)
	ulh	$4,0x7ffe($5)
	ulh	$4,0x7fff($5)
	ulh	$4,0x8000($5)
	ulh	$4,0x37ffe($5)
	ulh	$4,0x37fff($5)
	ulh	$4,0x38000($5)

	ulh	$4,%lo(foo)
	ulh	$4,%hi(foo)
	ulh	$4,%gp_rel(foo)
	ulh	$4,%lo(0x12348765)
	ulh	$4,%hi(0x12348765)

	ulh	$4,%lo(foo)($4)
	ulh	$4,%hi(foo)($4)
	ulh	$4,%gp_rel(foo)($4)

	ulh	$4,%lo(foo)($5)
	ulh	$4,%hi(foo)($5)
	ulh	$4,%gp_rel(foo)($5)
	ulh	$4,%lo(0x12348765)($5)
	ulh	$4,%hi(0x12348765)($5)
	ulh	$4,%lo(foo+0x12348765)($5)
	ulh	$4,%hi(foo+0x12348765)($5)
	.end	func