Is linkonce underused?
Matt Austern
austern@apple.com
Tue Dec 17 16:36:00 GMT 2002
On Tuesday, December 17, 2002, at 04:07 PM, H. J. Lu wrote:
> 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?
Yes. We use a format called MACH-O. But if there's already
work going on that relies on ELF features, we can deal with
that one way or another---by adding elvish features to
MACH-O, if necessary.
--Matt
More information about the Gcc
mailing list