Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu>

* 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.
This commit is contained in:
Geoffrey Noer 1998-10-27 01:03:28 +00:00
parent a561cd980b
commit 2f53793327
3 changed files with 1093 additions and 0 deletions

View File

@ -1,3 +1,41 @@
Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu>
* 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.
Sun Oct 25 10:37:45 1998 Mumit Khan <khan@xraylith.wisc.edu>
* dlltool.c (scan_all_symbols): Fix patch error.

View File

@ -2084,6 +2084,7 @@ dlltool [-d|--input-def @var{def-file-name}]
[-S|--as @var{path-to-assembler}] [-f|--as-flags @var{options}]
[-D|--dllname @var{name}] [-m|--machine @var{machine}]
[-a|--add-indirect] [-U|--add-underscore] [-k|--kill-at]
[-A|--add-stdcall-alias]
[-x|--no-idata4] [-c|--no-idata5] [-i|--interwork]
[-n|--nodelete] [-v|--verbose] [-h|--help] [-V|--version]
[object-file @dots{}]
@ -2257,6 +2258,12 @@ should not append the string @samp{@@ <number>}. These numbers are
called ordinal numbers and they represent another way of accessing the
function in a DLL, other than by name.
@item -A
@itemx --add-stdcall-alias
Specifies that when @code{dlltool} is creating the exports file it
should add aliases for stdcall symbols without @samp{@@ <number>}
in addition to the symbols with @samp{@@ <number>}.
@item -x
@itemx --no-idata4
Specifies that when @code{dlltool} is creating the exports and library

1048
binutils/dllwrap.c Normal file

File diff suppressed because it is too large Load Diff