Date: Sun, 27 Dec 1998 21:08:27 -0800 (PST) From: John Polstra <jdp@polstra.com> To: kaleb@ics.com Cc: hackers@FreeBSD.ORG Subject: Re: dynamic libraries loading Message-ID: <199812280508.VAA08288@vashon.polstra.com> In-Reply-To: <36850172.41C67EA6@ics.com> References: <Pine.LNX.4.05.9812251142440.319-100000@gizmo.kyrnet.kg>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <36850172.41C67EA6@ics.com>,
Kaleb S. KEITHLEY <kaleb@ics.com> wrote:
>
> Note however that the ELF specification says that these functions should
> be called .init() and .fini().
Where does it say that? I'm quite familiar with the SVR4 ABI
specification (which _is_ the ELF spec). It says nothing of the sort,
to my knowledge.
> Looking at the sources in /usr/src/libexec/rtld-elf/, I see that rtld
> relies on the DT_INIT and DT_FINI tags to find the functions in the
> shared lib.
Right. And *that's* what the ELF specification says to do.
John
--
John Polstra jdp@polstra.com
John D. Polstra & Co., Inc. Seattle, Washington USA
"Nobody ever went broke underestimating the taste of the American public."
-- H. L. Mencken
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812280508.VAA08288>
