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

19 lines
212 B
ArmAsm

.text
.globl _start
_start:
bl foo
bl bar
nop
.globl foo
.type foo,@function
foo:
addis 2,12,.TOC.-foo@ha
addi 2,2,.TOC.-foo@l
.localentry foo,.-foo
blr
.size foo,.-foo
.data
.dc.a foo
.dc.a bar