Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-sh/weak1.s

20 lines
150 B
ArmAsm
Raw Normal View History

2023-03-06 14:48:14 +01:00
.data
.align 2
d0:
.long 1
.global w0
w0:
.long 0
.weak w0
.text
.align 5
f:
mov.l .L3,r1
mov.l @r1,r0
rts
nop
.align 2
.L3:
.long w0