aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-riscv-elf/c-lui-2.s
blob: 7aa258606a4c099c6236a51be08584f43ac5a0a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
	.option nopic
	.text
	.align 1
	.globl _start
	.type _start, @function
_start:
	lui a0,%hi(foo)
	addi a0,a0,%lo(foo)
	.skip 0x7f8
foo:
	ret
	.size _start, .-_start