This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH]:Default exclusion of symbols by dlltool
- To: binutils at sources dot redhat dot com
- Subject: [PATCH]:Default exclusion of symbols by dlltool
- From: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- Date: Thu, 29 Mar 2001 14:42:41 +1200 (NZST)
Hello
In dlltool, default exclusion of DEFAULT_EXCLUDES symbols can never occur since
do_default_excludes is always false. The following change initialises it
to true. It remains true if not changed by the --no-default-excludes
command line option && if the option --export-all-symbols is set.
Danny
ChangeLog
2001-03-29 Danny Smith <dannysmith@users.sourceforge.net>
* dlltool.c (do_default_excludes): Initialise to true.
--- dlltool.c.orig Thu Mar 29 13:00:08 2001
+++ dlltool.c Thu Mar 29 11:50:09 2001
@@ -367,7 +367,7 @@ static boolean export_all_symbols;
/* True if we should exclude the symbols in DEFAULT_EXCLUDES when
exporting all symbols. */
-static boolean do_default_excludes;
+static boolean do_default_excludes=true;
/* Default symbols to exclude when exporting all the symbols. */
static const char *default_excludes = "DllMain@12,DllEntryPoint@0,impure_ptr";
_____________________________________________________________________________
http://my.yahoo.com.au - My Yahoo!
- Have news, stocks, weather, sports and more in one place.