From owner-freebsd-hackers Thu Jan 4 12:43:12 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA03014 for hackers-outgoing; Thu, 4 Jan 1996 12:43:12 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA03009 for ; Thu, 4 Jan 1996 12:43:08 -0800 (PST) Received: from rah.star-gate.com (localhost.v-site.net [127.0.0.1]) by rah.star-gate.com (8.6.12/8.6.12) with ESMTP id MAA06560; Thu, 4 Jan 1996 12:42:20 -0800 Message-Id: <199601042042.MAA06560@rah.star-gate.com> X-Mailer: exmh version 1.6.5 12/11/95 To: Terry Lambert cc: hackers@FreeBSD.ORG Subject: Re: Anyone got GNU `dld' ported to FreeBSD? In-reply-to: Your message of "Thu, 04 Jan 1996 13:32:28 MST." <199601042032.NAA00217@phaeton.artisoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 04 Jan 1996 12:42:19 -0800 From: "Amancio Hasty Jr." Sender: owner-hackers@FreeBSD.ORG Precedence: bulk >>> Terry Lambert said: > > > Ours works just fine too, but I can't use dynamic linking from a > > > statically-linked application, which is what sysinstall needs to be. > > > > What is your problem exactly when you try to use dlopen in a statically > > compiled program? > > The dynamic linking code is in the crt0.o, since it must be static > in the binary in order to be used to implement shared library mapping. > > It is *not* in the non-shared library crt0.o. > Could we add the dynamic shared stuff to the static crt0.o and add a provision not to attempt to load dynamic modules when a program starts? I have not taken a look at the shared crt0.o in a long time so I don't know to what it has mutated 8) Cheers, Amancio