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]

Re: PATCH: new linker option for shared library COMDAT optimization


On Wed, Feb 29, 2012 at 11:23:14AM -0700, Sandra Loosemore wrote:
> Would it suffice for the purposes of the current patch to add a bit
> to the documentation for --shared-comdat explaining that it requires
> that the comdat symbols have default (exported) visibility in the
> shared library, and that this may require changes to how the library
> is built?

[snip]

> Perhaps as a
> less-strict version of what I have now, I could require that the
> shared library provide definitions for only the comdat symbols that
> are referenced, instead of all of them?

Yes, I think we could go ahead with these two changes.

-- 
Alan Modra
Australia Development Lab, IBM


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