This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH]:Default exclusion of symbols by dlltool


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]