Date: Sun, 27 Dec 1998 15:50:13 -0500 From: "Kaleb S. KEITHLEY" <kaleb@ics.com> To: hackers@FreeBSD.ORG Subject: [Fwd: Re: ld (bfd): wrong function names for ELF shared library DT_{INIT,FINI}] Message-ID: <36869D85.7DE14518@ics.com>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------52BFA1D76201DD564487EB71 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit forwarded here because of a mangled hackers address in the CC: line. Okay. I've confirmed that on e.g. Linux that ld does create .init and .fini sections, and on ELF FreeBSD 3.0-RELEASE it does not. Was this intentional? -- Kaleb --------------52BFA1D76201DD564487EB71 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Received: from cygnus.com (runyon.cygnus.com [205.180.230.5]) by ics.com (8.9.0.Beta5/8.9.0.Beta5) with ESMTP id OAA03629 Sun, 27 Dec 1998 14:01:18 -0500 (EST) Received: from happy.cygnus.com (happy.cygnus.com [205.180.230.206]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id LAA04665; Sun, 27 Dec 1998 11:00:39 -0800 (PST) Received: (drepper@localhost) by happy.cygnus.com (8.8.7/8.6.4) id KAA27749; Sun, 27 Dec 1998 10:56:54 -0800 To: "Kaleb S. KEITHLEY" <kaleb@ics.com> Cc: hcakers@freebsd.org, bug-gnu-utils@gnu.org Subject: Re: ld (bfd): wrong function names for ELF shared library DT_{INIT,FINI} References: <36865D18.1CFBAE39@ics.com> <r2k8zdh80n.fsf@happy.cygnus.com> <36868FAB.31DFF4F5@ics.com> Reply-To: drepper@cygnus.com (Ulrich Drepper) X-fingerprint: BE 3B 21 04 BC 77 AC F0 61 92 E4 CB AC DD B9 5A Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII From: Ulrich Drepper <drepper@cygnus.com> Date: 27 Dec 1998 10:56:54 -0800 In-Reply-To: "Kaleb S. KEITHLEY"'s message of "Sun, 27 Dec 1998 14:51:07 -0500" Message-ID: <r290fth0qx.fsf@happy.cygnus.com> X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" "Kaleb S. KEITHLEY" <kaleb@ics.com> writes: > The current binutils/ld does not even create .init or .fini sections at > all. Of course they do. I don't know about any of these *BSD platforms but if those who did the port did it right there are these sections. On all ELF platforms I know (Linux, Hurd, Solaris) there are these sections. > The way the binutils ld currently works, if ld sees a function called > _init() when it is creating a shared library, it gives it all the > semantics of .init(), but doesn't even create a .init section. Likewise > for _fini. Wrong in general. Maybe true for the *BSD ports but it's no generic problem. If it is what you see complain at those who wrote the *BSD support. -- ---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Cygnus Solutions `--' drepper at cygnus.com `------------------------ --------------52BFA1D76201DD564487EB71-- 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?36869D85.7DE14518>