Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-arm/callweak.s

18 lines
224 B
ArmAsm
Raw Normal View History

2023-03-06 14:48:14 +01:00
.syntax unified
.arch armv6
.weak bar
.section .far, "ax", %progbits
.global _start
.type _start, %function
_start:
bl bar
bleq bar
.thumb
.type foo, %function
.thumb_func
foo:
bl bar
movs r0, #0
bl bar
bx lr