Files
binutils-gdb/binutils/testsuite/binutils-all/link-order.s
Alan Modra e443ffcf79 ia64 assembler warning breaks ld tests
The "Warning: Explicit stops are ignored in auto mode" results in
failures of a number of run_ld_link_tests because the compiler is run
using -S and then the resulting .s file assembled without suppplying
-x to gas.  Fix that problem by adding -x to ASFLAGS for ia64, and
tweak the binutils link-order test since the source is used in a ld
test too.

ld/
	* testsuite/config/default.exp: Set ASFLAGS to "-x" for ia64.
	Remove unnecessary "global".
binutils/
	* testsuite/binutils-all/link-order.s: Provide explicit stop.
	* testsuite/binutils-all/objcopy.exp: Pass "-x" when building
	link-order test for ia64.
2025-08-01 10:46:27 +09:30

14 lines
160 B
ArmAsm

.text
.align 16
.global foo#
.proc foo#
foo:
.prologue 2, 2
.vframe r2
mov r2 = r12;;
.body
.restore sp
mov r12 = r2
br.ret.sptk.many b0
.endp foo#