[PATCH,PE-COFF,PR11603] Allow ld to export symbols containing dots from DLLs.

Doug Semler dougsemler@gmail.com
Tue Jun 8 20:15:00 GMT 2010

On Sat, May 22, 2010 at 9:26 AM, Doug Semler <dougsemler@gmail.com> wrote:
> On Monday, May 17, 2010, Dave Korn <dave.korn.cygwin@gmail.com> wrote:
>>   Urgh.  Yes, this looks like a real GCC bug; it's not generating any export
>> directive for the tls var at all.  When there's no other export directives
>> (i.e. without the function) auto-export kicks in, but that behaviour gets
>> suppressed in the presence of any explicit exports.
>>   Confirmed for both 4.6.0 and 4.3.4.  Sigh, I'll go debug GCC and figure out
>> what's up.
>>     cheers,
>>       DaveK
> Dave
> I'm not going to get a chance to do it until tomorrow but I'll check
> the combo binutils patch with the gcc declspec patch against the code
> I have (it exercises this pretty well) and let you know how it goes...

Sorry I didn't get a chance to do this earlier but I had some trunk
instability that caused me problems...Anyway, for what it's worth,
this patch coupled with the gcc patch to tag thread locals' dllexports
seems to be working for the code that I have on x86_64-w64-mingw32
target.  Still would probably be good to have some sort of regression
testcase for them.


More information about the Binutils mailing list