This is the mail archive of the binutils@sources.redhat.com 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]

Re: [PATCH] Change export behavior for PE files


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.



That doesn't work. If I don't explicitly specify any exported function(s) the linker just exports all functions.

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?


For my case that would solve the problem, but I'm not going to write the patch...sorry.

Regards,
Filip


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