This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

[patch binutils/11065] [DllTool] DLL name from DEF file is ignored when using --output-exp option


Hello,

this patch addresses the bug described at 
http://sourceware.org/bugzilla/show_bug.cgi?id=11065 report. The logic 
should be IMHO that if --dllname is specified, it shall be used in any 
case. If the exp_name is used for determine the DLL name, then just in 
case there is no DLL name specified in the .def file.

ChangeLog

2010-11-23  Kai Tietz

        PR binutils/11065
        * dlltool.c (dll_name_set_by_exp_name): New variable.
        (def_name): Allow setting of dll_name by .def file.
        (def_library): Likewise.
        (main): Set dll_name_set_by_exp_name, if dll_name is
        set indirect by exp_name.

Tested for x86_64-w64-mingw32, i686-pc-cygwin, and i686-w64-mingw32. Ok 
for apply?

Regards,
Kai

|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.

Attachment: dlltool_11065.diff
Description: Binary data


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