Date: 27 Dec 1998 08:19:52 -0800 From: Ulrich Drepper <drepper@cygnus.com> To: "Kaleb S. KEITHLEY" <kaleb@ics.com> Cc: hackers@FreeBSD.ORG, bug-gnu-utils@gnu.org Subject: Re: ld (bfd): wrong function names for ELF shared library DT_{INIT,FINI} Message-ID: <r2k8zdh80n.fsf@happy.cygnus.com> In-Reply-To: "Kaleb S. KEITHLEY"'s message of "Sun, 27 Dec 1998 11:15:21 -0500" References: <36865D18.1CFBAE39@ics.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"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). -- ---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Cygnus Solutions `--' drepper at cygnus.com `------------------------ 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?r2k8zdh80n.fsf>