From owner-freebsd-current@FreeBSD.ORG Sat Nov 22 23:13:31 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AA2A16A4CE for ; Sat, 22 Nov 2003 23:13:31 -0800 (PST) Received: from a.mx.ict1.everquick.net (a.mx.ict1.everquick.net [67.67.61.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D8DF43FBD for ; Sat, 22 Nov 2003 23:13:30 -0800 (PST) (envelope-from eddy+public+spam@noc.everquick.net) Received: from a.mx.ict1.everquick.net (localhost [127.0.0.1]) hAN7DVm1014567 for ; Sun, 23 Nov 2003 07:13:31 GMT X-EverQuick-No-Abuse: Report any e-mail abuse to Received: from localhost (eddy@localhost)hAN7DUvX014564 for ; Sun, 23 Nov 2003 07:13:31 GMT X-Authentication-Warning: a.mx.ict1.everquick.net: eddy owned process doing -bs Date: Sun, 23 Nov 2003 07:13:30 +0000 (GMT) From: "E.B. Dreger" X-X-Sender: eddy@a.mx.ict1.everquick.net To: current@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: rtld + static linking X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2003 07:13:31 -0000 After watching the recent shared/dynamic threads, and reading the archives from five or six years ago, I have a question... Dynamic linking works by the kernel running the dynamic linker, which loads shared objects and fixes the symbol tables, yes? Is there some reason that a statically-linked program couldn't include some "ld-elf.a" type of intelligence? Would that be necessary and sufficient to allow statically-linked programs to load shared objects? Eddy -- Brotsman & Dreger, Inc. - EverQuick Internet Division Bandwidth, consulting, e-commerce, hosting, and network building Phone: +1 785 865 5885 Lawrence and [inter]national Phone: +1 316 794 8922 Wichita _________________________________________________________________ DO NOT send mail to the following addresses : blacklist@brics.com -or- alfra@intc.net -or- curbjmp@intc.net Sending mail to spambait addresses is a great way to get blocked.