This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Is linkonce underused?
On Tue, Dec 17, 2002 at 02:36:08PM -0800, Matt Austern wrote:
> On Tuesday, December 17, 2002, at 02:06 PM, H. J. Lu wrote:
>
> >On Tue, Dec 17, 2002 at 01:34:50PM -0800, Matt Austern wrote:
> >>Am I misunderstanding something? If not, is there some
> >>reason we aren't using linkonce for EH and debug
> >>information?
> >
> >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.
See http://gcc.gnu.org/ml/gcc-bugs/2001-12/msg00314.html for one
difficulty. The linker eh_frame editing seems to be the way to go.
--
Alan Modra
IBM OzLabs - Linux Technology Centre