Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-nios2/hilo16.s

11 lines
179 B
ArmAsm
Raw Normal View History

2023-03-06 14:48:14 +01:00
# Test the %hi, lo and %hiadj relocations
.set noat
.text
.global _start
_start:
addi r1, r1, %hi(long_symbol)
addi r1, r1, %lo(long_symbol)
addi r1, r1, %hiadj(long_symbol)