PATCH to binutils/dlltool: Support PRIVATE keyword in pe dll .def files [2]
Nick Clifton
nickc@redhat.com
Mon Mar 8 11:50:00 GMT 2004
Hi Danny,
> binutils/ChangeLog
> 2004-03-07 Danny Smith <dannysmith@users.sourceforge.net>
>
> * deflex.l: Handle "PRIVATE" string.
> * defparse.y (%token): Add PRIVATE.
> (%type): Add opt_PRIVATE.
> (expline): Pass opt_PRIVATE to def_exports.
> (opt_PRIVATE): Handle PRIVATE token.
> * dlltool.h (def_exports): Add 7th param for private flag to
> declaration.
> * dlltool.c: Add PRIVATE to comment on EXPORTS syntax.
> (struct export): Add 'private' field.
> (def_exports): Set 'private' field of struct exports.
> (scan_drectve_symbols): Adjust calls to def_exports.
> (scan_filtered_symbols): Likewise.
> (dump_def_info): Print 'private' field.
> (gen_def_file): Likewise.
> (gen_lib_file): Skip generation of lib object if private.
> Delete tmp object files in same order as they were generated.
> Don't delete non-existent private object files.
Approved and applied - thanks!
Cheers
Nick
More information about the Binutils
mailing list