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

24 lines
304 B
ArmAsm

.text
.section .init0, "x"
.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