aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2025-08-01 07:10:40 +0930
committerAlan Modra <amodra@gmail.com>2025-08-01 10:46:27 +0930
commite443ffcf791dee6ef8ad5205986fe6fc46ed3295 (patch)
tree30e341e66d5ac7e05c307e9a152ce89d8b3ac33f /binutils
parentce6a13a42fb3191debdc1d01c13e979beb6714aa (diff)
downloadbinutils-e443ffcf791dee6ef8ad5205986fe6fc46ed3295.zip
binutils-e443ffcf791dee6ef8ad5205986fe6fc46ed3295.tar.gz
binutils-e443ffcf791dee6ef8ad5205986fe6fc46ed3295.tar.bz2
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.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/testsuite/binutils-all/link-order.s2
-rw-r--r--binutils/testsuite/binutils-all/objcopy.exp2
2 files changed, 2 insertions, 2 deletions
diff --git a/binutils/testsuite/binutils-all/link-order.s b/binutils/testsuite/binutils-all/link-order.s
index 5994cb8..918cd06 100644
--- a/binutils/testsuite/binutils-all/link-order.s
+++ b/binutils/testsuite/binutils-all/link-order.s
@@ -5,7 +5,7 @@
foo:
.prologue 2, 2
.vframe r2
- mov r2 = r12
+ mov r2 = r12;;
.body
.restore sp
mov r12 = r2
diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp
index 6aa6d2d..89370bc 100644
--- a/binutils/testsuite/binutils-all/objcopy.exp
+++ b/binutils/testsuite/binutils-all/objcopy.exp
@@ -1293,7 +1293,7 @@ proc objcopy_test_elf_common_symbols {} {
# ia64 specific tests
if { ([istarget "ia64-*-elf*"]
|| [istarget "ia64-*-linux*"]) } {
- objcopy_test "ia64 link order" link-order.s object "" ""
+ objcopy_test "ia64 link order" link-order.s object "-x" ""
}
# ELF specific tests