aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2010-04-27 17:28:15 +0000
committerKai Tietz <kai.tietz@onevision.com>2010-04-27 17:28:15 +0000
commit1d2ca237d83678be5c4782309b1c820636c9f60a (patch)
tree5a192f3aa26db8bcc001b67cb49a1162abf58d74 /binutils/testsuite
parentef72a554d982f439fb9be357386681c1d4fb475c (diff)
downloadgdb-1d2ca237d83678be5c4782309b1c820636c9f60a.zip
gdb-1d2ca237d83678be5c4782309b1c820636c9f60a.tar.gz
gdb-1d2ca237d83678be5c4782309b1c820636c9f60a.tar.bz2
2010-04-27 Kai Tietz <kai.tietz@onevision.com>
* dlltool.c (main): Query for bfd's underscoring default for default target case. 2010-04-27 Kai Tietz <kai.tietz@onevision.com> * binutils-all/dlltool.exp: Allow test for arm-wince-pe target.
Diffstat (limited to 'binutils/testsuite')
-rw-r--r--binutils/testsuite/ChangeLog5
-rw-r--r--binutils/testsuite/binutils-all/dlltool.exp15
2 files changed, 13 insertions, 7 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index 00db66d..1b6bafa 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-27 Kai Tietz <kai.tietz@onevision.com>
+
+ * binutils-all/dlltool.exp: Allow test for
+ arm-wince-pe target.
+
2010-03-30 Kai TIetz <kai.tietz@onevision.com>
* binutils-all/objcopy.exp: Mark simple copy executable
diff --git a/binutils/testsuite/binutils-all/dlltool.exp b/binutils/testsuite/binutils-all/dlltool.exp
index 046fc18..d6f8e3b 100644
--- a/binutils/testsuite/binutils-all/dlltool.exp
+++ b/binutils/testsuite/binutils-all/dlltool.exp
@@ -14,13 +14,14 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-if {![istarget "i*86-*-*"] && ![istarget "x86_64-*-mingw*"] } {
+if {![istarget "i*86-*-*"] && ![istarget "x86_64-*-mingw*"] && ![istarget "arm-*-pe*]} {
return
}
if {![istarget "i*86-*-*pe*"] \
&& ![istarget "i*86-*-cygwin*"] \
&& ![istarget "i*86-*-mingw32*"] \
+ && ![istarget "arm-*-pe*"] \
&& ![istarget "x86_64-*-mingw*"] } {
set target_xfail "yes"
} else {
@@ -35,8 +36,8 @@ if {[which $DLLTOOL] == 0} then {
return
}
-verbose "$DLLTOOL -d $srcdir/$subdir/fastcall.def" 1
-catch "exec $DLLTOOL -d $srcdir/$subdir/fastcall.def" err
+verbose "$DLLTOOL --leading-underscore -d $srcdir/$subdir/fastcall.def" 1
+catch "exec $DLLTOOL --leading-underscore -d $srcdir/$subdir/fastcall.def" err
if ![string match "" $err] then {
send_log "$err\n"
@@ -50,8 +51,8 @@ if { "$target_xfail" == "yes" } {
setup_xfail *-*
}
-verbose "$DLLTOOL -p prefix -l tmpdir/libalias.a -d $srcdir/$subdir/alias.def $dlltool_gas_flag" 1
-catch "exec $DLLTOOL -p prefix -l tmpdir/libalias.a -d $srcdir/$subdir/alias.def $dlltool_gas_flag" err
+verbose "$DLLTOOL -p prefix --leading-underscore -l tmpdir/libalias.a -d $srcdir/$subdir/alias.def $dlltool_gas_flag" 1
+catch "exec $DLLTOOL -p prefix --leading-underscore -l tmpdir/libalias.a -d $srcdir/$subdir/alias.def $dlltool_gas_flag" err
if ![string match "" $err] then {
send_log "$err\n"
@@ -80,8 +81,8 @@ if [regexp $want $got] then {
fail "dlltool -p (import name)"
}
-verbose "$DLLTOOL -p prefix -l tmpdir/libalias2.a -d $srcdir/$subdir/alias-2.def $dlltool_gas_flag" 1
-catch "exec $DLLTOOL -p prefix -l tmpdir/libalias2.a -d $srcdir/$subdir/alias-2.def $dlltool_gas_flag" err
+verbose "$DLLTOOL -p prefix --leading-underscore -l tmpdir/libalias2.a -d $srcdir/$subdir/alias-2.def $dlltool_gas_flag" 1
+catch "exec $DLLTOOL -p prefix --leading-underscore -l tmpdir/libalias2.a -d $srcdir/$subdir/alias-2.def $dlltool_gas_flag" err
if ![string match "" $err] then {
send_log "$err\n"