Is linkonce underused?

H. J. Lu hjl@lucon.org
Tue Dec 17 16:35:00 GMT 2002


On Tue, Dec 17, 2002 at 02:36:08PM -0800, Matt Austern wrote:
> >
> > GRP_COMDAT can be used for that. It is available in ELF. I'd like to
> > see gcc support it.
> 
> Has anyone done any preliminary design work on this?  Apple
> is doing some work that's relevant to it, and we'd hate to
> duplicate anyone else's effort.

I believe GRP_COMDAT is the way to go, at least for ELF targets. The
binutils support was put in recently. I don't know if it has been
tested at all. But I have an impression that Apple doesn't use ELF.
Is that true?


H.J.



More information about the Gcc mailing list