d08ec38351
* ld-arm/arm-elf.exp (armelftests): Add callweak. * ld-arm/callweak.d: New test. * ld-arm/callweak.s: New test.
16 lines
211 B
ArmAsm
16 lines
211 B
ArmAsm
.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
|