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
- Subject: Re: multiple definitions of 'xxx keyed to...' in egcs-1.1.1
- From: Jeffrey A Law <law at hurl dot cygnus dot com>
- Date: Sun, 21 Feb 1999 16:27:45 -0700
- cc: Jason Merrill <jason at cygnus dot com>, hjl at lucon dot org (H.J. Lu), egcs at egcs dot cygnus dot com, egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
[ replying to my own ill-formed message ]
In message <7817.919639310@hurl.cygnus.com> I write:
> In message <u9vhgvfmfa.fsf@yorick.cygnus.com>you write:
> > This is wrong, or at least incomplete. ASM_OUTPUT_CONSTRUCTOR does not
> > imply the use of .ctors/.dtors sections.
> Right. That's why trying to if this problem by depending on that macro is
> wrong.
^^^ fix
> It sounds like we need a new macro which indicates the target uses
> ctor/dtor sections and the dynamic linker handles firing of ctors/dtors.
> Given such a macro.
Given such a macro, we can safely make these functions static on those systems
where it is safe.
jeff