diff options
author | Alan Modra <amodra@gmail.com> | 2025-08-01 07:10:40 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2025-08-01 10:46:27 +0930 |
commit | e443ffcf791dee6ef8ad5205986fe6fc46ed3295 (patch) | |
tree | 30e341e66d5ac7e05c307e9a152ce89d8b3ac33f /ld | |
parent | ce6a13a42fb3191debdc1d01c13e979beb6714aa (diff) | |
download | binutils-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 'ld')
-rw-r--r-- | ld/testsuite/config/default.exp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ld/testsuite/config/default.exp b/ld/testsuite/config/default.exp index 1d69681..1c12ce6 100644 --- a/ld/testsuite/config/default.exp +++ b/ld/testsuite/config/default.exp @@ -185,10 +185,13 @@ if {[istarget mips64*-*-linux*] && } if { [istarget rx-*-*] } { - global ASFLAGS set ASFLAGS "-muse-conventional-section-names" } +if { [istarget ia64-*-*] } { + set ASFLAGS "-x" +} + # Blackfin ELF targets require selection of an explicit CPU. Use the sim. if {[istarget bfin*-elf*]} { append gcc_B_opt " -msim" |