aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-07-12 17:07:55 +0000
committerNick Clifton <nickc@redhat.com>2004-07-12 17:07:55 +0000
commit607dea976448c7af523547e62d37eba4975c3f94 (patch)
tree5bb69a7151e894375f80d418fc8bfc194f12e173 /binutils/testsuite/binutils-all
parent7865082976ae440b7b8e884b24a74a2eff29781a (diff)
downloadgdb-607dea976448c7af523547e62d37eba4975c3f94.zip
gdb-607dea976448c7af523547e62d37eba4975c3f94.tar.gz
gdb-607dea976448c7af523547e62d37eba4975c3f94.tar.bz2
dlltool.c (ext_prefix_alias): New global variable.
(make_one_lib_file): Add aliases with prefixes for external and import definitions. (usage): Document -p option. (long_options): Add --ext-prefix-alias option. (main): Handle -p. * doc/binutils.texi: Document new switch. * NEWS: Mention new switch.
Diffstat (limited to 'binutils/testsuite/binutils-all')
-rw-r--r--binutils/testsuite/binutils-all/dlltool.exp12
1 files changed, 12 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/dlltool.exp b/binutils/testsuite/binutils-all/dlltool.exp
index f061ab8..ba758df 100644
--- a/binutils/testsuite/binutils-all/dlltool.exp
+++ b/binutils/testsuite/binutils-all/dlltool.exp
@@ -45,3 +45,15 @@ if ![string match "" $err] then {
}
pass "dlltool (fastcall export)"
+
+verbose "$DLLTOOL -p foo -d $srcdir/$subdir/fastcall.def" 1
+catch "exec $DLLTOOL -p foo -d $srcdir/$subdir/fastcall.def" err
+
+if ![string match "" $err] then {
+ send_log "$err\n"
+ verbose "$err" 1
+ fail "dlltool (aliased export)"
+ continue
+}
+
+pass "dlltool (aliased export)"