]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
ia64 assembler warning breaks ld tests
authorAlan Modra <amodra@gmail.com>
Thu, 31 Jul 2025 21:40:40 +0000 (07:10 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 1 Aug 2025 01:16:27 +0000 (10:46 +0930)
commite443ffcf791dee6ef8ad5205986fe6fc46ed3295
tree30e341e66d5ac7e05c307e9a152ce89d8b3ac33f
parentce6a13a42fb3191debdc1d01c13e979beb6714aa
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.
binutils/testsuite/binutils-all/link-order.s
binutils/testsuite/binutils-all/objcopy.exp
ld/testsuite/config/default.exp