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

27 lines
405 B
ArmAsm

.text
.globl _start
.type _start, @function
_start:
jal foo
jal sexternal
j sglobal
.size _start, .-_start
.globl sexternal
.type sexternal, @function
sexternal:
jr $31
.size sexternal, .-sexternal
.data
.type dlocal, @object
dlocal:
.word dlocal
.size dlocal, .-dlocal
.globl dexternal
.type dexternal, @object
dexternal:
.word dglobal
.word dexternal
.size dexternal, .-dexternal