[PATCH] Change export behavior for PE files

Christopher Faylor me@cgf.cx
Fri Mar 11 18:19:00 GMT 2005


On Sat, Mar 12, 2005 at 07:05:36AM +1300, Danny Smith wrote:
>Christopher Faylor wrote:
>> On Fri, Mar 11, 2005 at 03:30:29PM +0100, Filip Navara wrote:
>>> I guess this one will not get accepted and you'll tell me that it's not
>>> bug, but feature. Anyway I decided to at least try to push this patch
>>> since I need to generate export-less DLLs and I don't see any other way
>>> to do it when "-shared" is used.
>>
>> Actually the change makes sense to me and it seems like you're fixing a
>> bug but I'd like to get Danny Smith's input too before committing it.
>>
>
>This will break a lot of projects which expect a default behaviour
>of --export-all.
>
>Is there no way to use a def file with with an empty EXPORTS section to signify
>no exports?
>Or what  about a  a --no-export-all switch?

There are actually projects out there which expect that --export-all-symbols is
the default?  Wow.

cgf



More information about the Binutils mailing list