Add x86_64-mingw64 target
[deliverable/binutils-gdb.git] / ld / testsuite / ld-scripts / provide.exp
index 7e2c0e7e01d6797cde43303d817d812d0766cfad..7d755a048b04455621ff33798abe68f00df52695 100644 (file)
@@ -1,6 +1,6 @@
 # Test PROVIDE in a linker script.
 # By Nathan Sidwell, CodeSourcery LLC
-#   Copyright 2004
+#   Copyright 2004, 2006
 #   Free Software Foundation, Inc.
 #
 # This file is free software; you can redistribute it and/or modify
@@ -29,7 +29,15 @@ if {[istarget "rs6000-*-aix*"] || [is_aout_format]} {
     return
 }
 
+global LDFLAGS
+set saved_LDFLAGS "$LDFLAGS"
+if [istarget "*-*-mingw64*"] then {
+  set LDFLAGS "$LDFLAGS --image-base 0"
+}
+
 run_dump_test provide-1
 run_dump_test provide-2
 setup_xfail *-*-*
 run_dump_test provide-3
+
+set LDFLAGS "$saved_LDFLAGS"
This page took 0.023014 seconds and 4 git commands to generate.