aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2013-11-19 14:52:05 +0100
committerTristan Gingold <gingold@adacore.com>2013-11-21 12:04:36 +0100
commit265a5258b3b5c137990547e2e4770f33657103f5 (patch)
treee8c8ec421f6feb7010fcd2f6abb1e2d6c21b38fd
parentc78feb398f06b959c2b0533837244f27cd81ac6d (diff)
downloadgdb-265a5258b3b5c137990547e2e4770f33657103f5.zip
gdb-265a5258b3b5c137990547e2e4770f33657103f5.tar.gz
gdb-265a5258b3b5c137990547e2e4770f33657103f5.tar.bz2
Fix version.dll binutils test on non native platforms
2013-11-21 Tristan Gingold <gingold@adacore.com> * binutils-all/dlltool.exp: Add dlltool_gas_flag to version.dll test.
-rw-r--r--binutils/testsuite/ChangeLog4
-rw-r--r--binutils/testsuite/binutils-all/dlltool.exp4
2 files changed, 6 insertions, 2 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index 94f0ce4..e3ac703 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -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.
diff --git a/binutils/testsuite/binutils-all/dlltool.exp b/binutils/testsuite/binutils-all/dlltool.exp
index 1409d3c..e0385d7 100644
--- a/binutils/testsuite/binutils-all/dlltool.exp
+++ b/binutils/testsuite/binutils-all/dlltool.exp
@@ -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"