Fix version.dll binutils test on non native platforms
authorTristan Gingold <gingold@adacore.com>
Tue, 19 Nov 2013 13:52:05 +0000 (14:52 +0100)
committerTristan Gingold <gingold@adacore.com>
Thu, 21 Nov 2013 11:04:36 +0000 (12:04 +0100)
2013-11-21  Tristan Gingold  <gingold@adacore.com>

* binutils-all/dlltool.exp: Add dlltool_gas_flag to version.dll test.

binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/dlltool.exp

index 94f0ce4efc950cc024ed03cba0e29341e38ea6b3..e3ac703528e816bcc8b608bc3b77f5421812263b 100644 (file)
@@ -1,3 +1,7 @@
+2013-11-21  Tristan Gingold  <gingold@adacore.com>
+
+       * binutils-all/dlltool.exp: Add dlltool_gas_flag to version.dll test.
+
 2013-11-02  Alan Modra  <amodra@gmail.com>
 
        * binutils-all/x86-64/compressed-1a.d: Allow wide display of addresses.
index 1409d3cf6259b6734b5cbe9364daa3d9ba3d54b6..e0385d73b24be8ed1ca912180470cbb90e76715c 100644 (file)
@@ -53,8 +53,8 @@ if { "$target_xfail" == "yes" } {
     setup_xfail *-*
 }
 
-verbose "$DLLTOOL -l libversion.a --def $srcdir/$subdir/version.def" 1
-catch "exec $DLLTOOL -l libersion.a --def $srcdir/$subdir/version.def" err
+verbose "$DLLTOOL -l libversion.a --def $srcdir/$subdir/version.def $dlltool_gas_flag" 1
+catch "exec $DLLTOOL -l libersion.a --def $srcdir/$subdir/version.def $dlltool_gas_flag" err
 
 if ![string match "" $err] then {
     send_log "$err\n"