binutils-gdb/ld/testsuite/ld-arm/callweak-2.s

18 lines
226 B
ArmAsm

.syntax unified
.arch armv6t2
.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