RISC-V: Fix lui relaxation issue with code at address 0.
[external/binutils.git] / ld / testsuite / ld-riscv-elf / c-lui-2.s
1         .option nopic
2         .text
3         .align 1
4         .globl _start
5         .type _start, @function
6 _start:
7         lui a0,%hi(foo)
8         addi a0,a0,%lo(foo)
9         .skip 0x7f8
10 foo:
11         ret
12         .size _start, .-_start