From 265a5258b3b5c137990547e2e4770f33657103f5 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 19 Nov 2013 14:52:05 +0100 Subject: [PATCH] Fix version.dll binutils test on non native platforms 2013-11-21 Tristan Gingold * binutils-all/dlltool.exp: Add dlltool_gas_flag to version.dll test. --- binutils/testsuite/ChangeLog | 4 ++++ binutils/testsuite/binutils-all/dlltool.exp | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index 94f0ce4efc9..e3ac703528e 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2013-11-21 Tristan Gingold + + * binutils-all/dlltool.exp: Add dlltool_gas_flag to version.dll test. + 2013-11-02 Alan Modra * 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 1409d3cf625..e0385d73b24 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" -- 2.30.2