aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/empty-address.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/empty-address.exp')
-rw-r--r--ld/testsuite/ld-scripts/empty-address.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/empty-address.exp b/ld/testsuite/ld-scripts/empty-address.exp
index e333ec1..8feb4ff 100644
--- a/ld/testsuite/ld-scripts/empty-address.exp
+++ b/ld/testsuite/ld-scripts/empty-address.exp
@@ -20,6 +20,10 @@
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
# MA 02110-1301, USA.
+if [istarget "x86_64-*-mingw*"] then {
+ set LDFLAGS "$LDFLAGS --image-base 0"
+}
+
run_dump_test empty-address-1
run_dump_test empty-address-2a
run_dump_test empty-address-2b