old-cross-binutils/ld/testsuite/ld-arm/callweak.s

17 lines
211 B
ArmAsm
Raw Normal View History

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