mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
bf174910c8
* testsuite/ld-undefined/weak-fundef.s: New. * testsuite/ld-undefined/weak-undef.t: Don't specify filename. * testsuite/ld-undefined/weak-undef.exp: Run new tests. Rearrange much of old code. Use is_elf_format to select targets.
15 lines
202 B
ArmAsm
15 lines
202 B
ArmAsm
.text
|
|
.weak undef_weak_fun
|
|
.type undef_weak_fun %function
|
|
.ifdef BL
|
|
bl undef_weak_fun
|
|
nop
|
|
.endif
|
|
.ifdef CALLPLT
|
|
call undef_weak_fun@plt
|
|
.endif
|
|
.ifdef HPPA
|
|
bl undef_weak_fun,%r2
|
|
nop
|
|
.endif
|