Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-aarch64/emit-relocs-local-addend-foo.s

21 lines
257 B
ArmAsm
Raw Normal View History

2023-03-06 14:48:14 +01:00
.cpu generic+fp+simd
.global a
.section .rodata
.align 3
.LC0:
.string "foo"
.align 3
.type a, %object
.size a, 8
a:
.xword .LC0
.text
.align 2
.global foo
.type foo, %function
foo:
adrp x0, .LC0
add x0, x0, :lo12:.LC0
ret
.size foo, .-foo