From owner-freebsd-hackers Sun Dec 27 21:08:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA21565 for freebsd-hackers-outgoing; Sun, 27 Dec 1998 21:08:46 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA21557 for ; Sun, 27 Dec 1998 21:08:44 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.1/8.9.1) with ESMTP id VAA23129; Sun, 27 Dec 1998 21:08:28 -0800 (PST) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.1/8.9.1) id VAA08288; Sun, 27 Dec 1998 21:08:27 -0800 (PST) (envelope-from jdp@polstra.com) Date: Sun, 27 Dec 1998 21:08:27 -0800 (PST) Message-Id: <199812280508.VAA08288@vashon.polstra.com> To: kaleb@ics.com Subject: Re: dynamic libraries loading Newsgroups: polstra.freebsd.hackers In-Reply-To: <36850172.41C67EA6@ics.com> References: Organization: Polstra & Co., Seattle, WA Cc: hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <36850172.41C67EA6@ics.com>, Kaleb S. KEITHLEY 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