mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
d08ec38351
* ld-arm/arm-elf.exp (armelftests): Add callweak. * ld-arm/callweak.d: New test. * ld-arm/callweak.s: New test.
17 lines
211 B
ArmAsm
17 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
|