summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/align.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/align.exp')
-rw-r--r--ld/testsuite/ld-scripts/align.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-scripts/align.exp b/ld/testsuite/ld-scripts/align.exp
index 25d4d3e176c..8c97d3bcc80 100644
--- a/ld/testsuite/ld-scripts/align.exp
+++ b/ld/testsuite/ld-scripts/align.exp
@@ -30,10 +30,10 @@ if ![ld_assemble $as $srcdir/$subdir/align.s tmpdir/align.o] {
}
# Doesn't work on PECOFF, appears to be a genuine bug.
-# mingw64 targets need to set the image base to 0 to avoid auto image-basing.
+# mingw on x86_64 targets need to set the image base to 0 to avoid auto image-basing.
global LDFLAGS
set saved_LDFLAGS "$LDFLAGS"
-if [istarget "*-*-mingw64*"] then {
+if [istarget "x86_64-*-mingw*"] then {
set LDFLAGS "$LDFLAGS --image-base 0"
} else {
if [is_pecoff_format] {