binutils-gdb/binutils/testsuite/binutils-all/strip-15rela.s

28 lines
423 B
ArmAsm
Raw Normal View History

.text
foo:
.dc.l 0x12345678
.section .rela.text,""
.ifdef ELF64
.dc.a 0
.dc.a RELOC
.dc.a 0x00000000000055aa
.dc.a 0
.dc.a 0
.dc.a 0
.else
# Some targets, such as `h8300-*' or `ip2k-*', use 16-bit addresses.
# With them `.dc.a' emits 16-bit quantities, so we need to use
# `.dc.l' for 32-bit relocation data.
.dc.l 0
.dc.l RELOC
.dc.l 0x000055aa
.dc.l 0
.dc.l 0
.dc.l 0
.endif