This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: multiple definitions of 'xxx keyed to...' in egcs-1.1.1
- To: law at cygnus dot com
- Subject: Re: multiple definitions of 'xxx keyed to...' in egcs-1.1.1
- From: Zack Weinberg <zack at rabi dot columbia dot edu>
- Date: Sat, 20 Feb 1999 15:57:56 -0500
- cc: jason at cygnus dot com (Jason Merrill), egcs at egcs dot cygnus dot com
On Sat, 20 Feb 1999 13:46:26 -0700, Jeffrey A Law wrote:
>
> In message <m10DUeS-00038sC@ocean.lucon.org>you write:
> > You got it backward. Making ctors/dtors local on ELF FIXES the bug on
> > ELF. However, your patch won't hurt.
>Yours works by introducing an ELF specific hack.
>
>Jason's patch, while not 100% correct either is a lot closer than yours since
>it works for a large number of targets instead of just ELF. The cases where
>it fails should be minimial as far as I can tell.
>
>HJ, remember, we care about more than just Linux and ELF. We have to.
I don't really see using local symbols for constructors as an
ELF-specific hack. HJ's implementation may be ELF-specific, but we
ought to be able to use the same tactic on any system with named
sections - at least XCOFF, and I know there are others.
zw