old-cross-binutils/ld/testsuite/ld-arm/callweak-2.s
Daniel Gutson cd1dac3d4a 2S09-08-21 Daniel Gutson <dgutson@codesourcery.com>
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: ----------------------------------------------------------------------
2009-08-21 23:38:07 +00:00

17 lines
226 B
ArmAsm

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