* dllwrap.c (strhash): New function.
(main): Use it to supply image base if not supplied by user.
(program_version): Up to 0.2.4.
Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu>
* dlltool.c (add_stdcall_alias): New global.
(long_options): Add --add-stdcall-alias option.
(main): Handle it.
(scan_drectve_symbols): Add alias if --add-stdcall-alias is
specified.
(scan_filtered_symbols): Likewise.
(gen_def_file): Output alias for stdcall syms if appropriate.
* binutils.texi (dlltool): Document --add-stdcall-alias option.
* dllwrap.c (long_options): Add --add-stdcall-alias option.
(main): Handle it.
* defparse.y (opt_name): Allow "." in name.
* dlltool.c (def_name): Set dll_name from NAME entry in def file.
(def_library): Set dll_name from LIBRARY entry in def file.
Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu>
* dllwrap.c (long_options): --implib synonym for --output-lib.
(main): Pass --export-all to dlltool only if specified.
(program_version): Up to 0.2.3.
Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu>
* dllwrap.c (mybasename): New function.
(main): Run dlltool to create export definition file and import
library file if necessary.
Change exp_file_name so that it's based on the dll name.
* Makefile.am (windres_SOURCES): Add resres.c.
(windres_OBJECTS): Add resres.o.
* Makefile.in: regenerate with automake
From Anders Norlander <anorland@hem2.passagen.se>.
* resres.c: New file. Implementation of read_res_file and
write_res_file functions for windres.
* rcparse.y: Handle CONTROL's with named classes.
* resbin.c: Bug in res_to_bin_dialog and bin_to_res_dialog
when dialog is extended: The version and signature fields should
be reversed (despite what the docs say). Id is 32 bits long in
extended dialogs.
* resrc.c (write_rc_dialog): properly print controls with named
classes.
* windres.c (read_res_file, write_res_file): Remove stubs.
* resres.c (write_res): Rename RT_ACCELERATORS to RT_ACCELERATOR.
From Anders Norlander <anorland@hem2.passagen.se>.
* resres.c: New file. Implementation of read_res_file and
write_res_file functions for windres.
* rcparse.y: Handle CONTROL's with named classes.
* resbin.c: Bug in res_to_bin_dialog and bin_to_res_dialog
when dialog is extended: The version and signature fields should
be reversed (despite what the docs say). Id is 32 bits long in
extended dialogs.
* resrc.c (write_rc_dialog): properly print controls with named
classes.
* windres.c (read_res_file, write_res_file): Remove stubs.
* resres.c (write_res): Rename RT_ACCELERATORS to RT_ACCELERATOR.
* Makefile.in (windres_SOURCES): Add resres.c.
(windres_OBJECTS): Add resres.o.
do_dynamic.
(do_histogram): New variable.
(options): New long option histogram. Set do_histogram if this
option is used.
(usage): Document --histogram.
(parse_args): Handle 0 return value from getopt_long. Enable
do_histogram for -a.
(process_symbol_table): Read hash table also if only do_histogram.
Add code to print hash table histogram.
(main): Don't treat '?' as a special case in getopt return.
* binutils.texi (dlltool): Document new options. Add some uses of
@var.
Wed Aug 19 16:19:07 1998 Mumit Khan <khan@xraylith.wisc.edu>
* dlltool.c (gen_def_file): Plug memory leak. Don't print
demangled name if it is NULL.
Support for exporting all symbols to an output export def file:
* dlltool.c ({export_all_symbols, no_default_excludes,
no_default_excludes, excludes}): New file static variables.
(struct string_list): Type to hold list of symbols to exclude.
(scan_drectve_symbols): Renamed from scan_open_obj_file.
(scan_filtered_symbols): New static function.
(add_excludes): New static function.
(match_exclude): New static function.
(set_default_excludes): New static function.
(filter_symbols): New static function.
(scan_all_symbols): New static function.
(scan_open_obj_file): New static function.
(usage): Document new options.
(long_options): Add new options.
(main): Handle new options.
* addr2line.c (find_address_in_section): Only consider a section
if the pc value is completely contained within it.
(translate_addresses): Don't crash if functionname or filename are
null.