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: Zack Weinberg <zack at rabi dot columbia dot edu>
- Subject: Re: multiple definitions of 'xxx keyed to...' in egcs-1.1.1
- From: Andris Pavenis <andris at stargate dot astr dot lu dot lv>
- Date: Mon, 22 Feb 1999 10:36:43 +0200
- Cc: egcs at egcs dot cygnus dot com
- References: <199902202057.PAA22565@blastula.phys.columbia.edu>
On Sat, 20 Feb 1999, Zack Weinberg wrote:
>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.
>
I tried it also for DJGPP with egcs-1.1.2-pre1. Initially I didn't saw any
problems but anyway it is not carefully tested yet.
Andris