This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
MinGW PECOFF dlltool: Revert internal_name patches.
- From: "Aaron W. LaFramboise" <aaron98wiridge9 at aaronwl dot com>
- To: binutils <binutils at sources dot redhat dot com>
- Date: Tue, 07 Sep 2004 18:08:08 -0500
- Subject: MinGW PECOFF dlltool: Revert internal_name patches.
Discussion on the mingw-users@sourceforge.net list has come to a general
consensus that these three patches caused incorrect semantics and should
be reverted:
2004-09-06 Danny Smith <dannysmith@users.sourceforge.net>
* doc/binutils.texi (dlltool): Update --add-underscore, --kill-at
documentation.
2004-09-04 Danny Smith <dannysmith@users.sourceforge.net>
* dlltool.c (make_one_lib_file): Test if internal_name was
specified by user before using it.
2004-09-02 Carlo Wood <carlo@alinoe.com>
PR binutils/351
* dlltool.c (make_one_lib_file): For IDATA6 take the name from
exp->internal_name if it is present.
See this thread: "Re: DEF file internalname example"
<http://sourceforge.net/mailarchive/message.php?msg_id=9470769>.
PR binutils/351 is, in fact, not a bug.
There is a valid problem that needs to be addressed though, relating to
importing symbols from MSVC-created DLLs that contain both stdcall and
cdecl exports. Carlo Wood and I agreed the best prospective way to fix
this is by adding a command line option that causes binutils to do the
same sort of stdcall name translation that MS LINK does.
Aaron W. LaFramboise