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

8 lines
132 B
ArmAsm
Raw Normal View History

2023-03-06 14:48:14 +01:00
# Test the hi16/lo16 relocations
.text
.global __start
__start:
movih r1, (long_symbol) >> 16
ori r1, r1, (long_symbol) & 0xffff