This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Is linkonce underused?


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


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