mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
cd1dac3d4a
ld/ * ld-arm/callweak.d: Opcodes updated. * ld-arm/callweak.s: Architecture specified. * ld-arm/callweak-2.d: New test case. * ld-arm/callweak-2.s: New file. bfd/ * elf32-arm.c (arch_has_thumb2_nop): New function. (arch_has_arm_nop): New function. (elf32_arm_final_link_relocate): NOP opcodes changed. SVS: ----------------------------------------------------------------------
18 lines
224 B
ArmAsm
18 lines
224 B
ArmAsm
.syntax unified
|
|
.arch armv6
|
|
.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
|