Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-nios2/reloc_symbol.s
2023-03-06 14:48:14 +01:00

24 lines
270 B
ArmAsm

.text
.global _start
_start:
# byte aligned
.align 0
.byte byte_sym
# short aligned
.align 1
.short short_sym
# word aligned
.align 2
.long long_sym
# now lets try some unaligned words and halfwords
.byte byte_sym
.2byte short_sym
.4byte long_sym
#.align 2
#nop