Date: Sun, 27 Dec 1998 17:48:49 +0000 (GMT)
From: Doug Rabson <dfr@nlsystems.com>
To: Ulrich Drepper <drepper@cygnus.com>
Cc: "Kaleb S. KEITHLEY" <kaleb@ics.com>, hackers@FreeBSD.ORG, bug-gnu-utils@gnu.org
Subject: Re: ld (bfd): wrong function names for ELF shared library DT_{INIT,FINI}
Message-ID: <Pine.BSF.4.01.9812271747560.383-100000@herring.nlsystems.com>
In-Reply-To: <r2k8zdh80n.fsf@happy.cygnus.com>
index | next in thread | previous in thread | raw e-mail
On 27 Dec 1998, Ulrich Drepper wrote:
> "Kaleb S. KEITHLEY" <kaleb@ics.com> writes:
>
> > The ELF specification says that the names of the DT_{INIT,FINI}
> > functions in shared libraries are named .init() and .fini(), not _init()
> > and _fini().
>
> I assume you refer to the section titled "Initialization adn
> Termination Functions" in the TIS. If yes, read it again.
>
> What is named ".init" and ".fini" are the **section** where these
> functions are placed in. This are not the function names. In fact,
> the function names are not specified at all. _init and _fini come
> from folklore (speek, the first ELF implementations).
I haven't looked at the i386 code but the alpha _init() and _fini() are
already in the correct sections.
--
Doug Rabson Mail: dfr@nlsystems.com
Nonlinear Systems Ltd. Phone: +44 181 442 9037
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.9812271747560.383-100000>
