Retro68/binutils/ld/testsuite/ld-pru/reloc_symbol.s
2017-10-07 02:16:47 +02:00

25 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