This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH,PE-COFF,PR11603] Allow ld to export symbols containing dots from DLLs.
- From: Doug Semler <dougsemler at gmail dot com>
- To: Dave Korn <dave dot korn dot cygwin at gmail dot com>
- Cc: Dave Korn <dave dot korn dot cygwin at googlemail dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Tue, 8 Jun 2010 16:14:37 -0400
- Subject: Re: [PATCH,PE-COFF,PR11603] Allow ld to export symbols containing dots from DLLs.
- References: <4BEEAA62.4040708@gmail.com> <AANLkTimCeCEmwaDozv8290SLgxq2XX8TGmetJhur2JT7@mail.gmail.com> <AANLkTikeKxpxD862Mytcwdon0BXJGMa4Oca_ARl0Ssz2@mail.gmail.com> <4BF172D7.4040004@gmail.com> <AANLkTimwCtr2z7H8pka-V7654ou-tojOCqI3i-BSmKxx@mail.gmail.com> <4BF178B4.70503@gmail.com> <AANLkTimqBl6U4nN45Iqtf6Fb7f5hdvwTc-NhBzsUbL5P@mail.gmail.com>
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.
Doug