From owner-freebsd-hackers Fri Oct 9 14:35:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA25487 for freebsd-hackers-outgoing; Fri, 9 Oct 1998 14:35:08 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp1.erols.com (smtp1.erols.com [207.172.3.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA25472 for ; Fri, 9 Oct 1998 14:35:03 -0700 (PDT) (envelope-from shmit@natasya.noc.erols.net) Received: from natasya.noc.erols.net (natasya.noc.erols.net [207.172.25.236]) by smtp1.erols.com (8.8.8/8.8.5) with ESMTP id RAA16069 for ; Fri, 9 Oct 1998 17:34:54 -0400 (EDT) Received: (from shmit@localhost) by natasya.noc.erols.net (8.9.1/8.9.1) id RAA26086 for hackers@freebsd.org; Fri, 9 Oct 1998 17:34:54 -0400 (EDT) Message-ID: <19981009173454.Q529@kublai.com> Date: Fri, 9 Oct 1998 17:34:54 -0400 From: Brian Cully To: hackers@FreeBSD.ORG Subject: ELF object file aggregation Reply-To: shmit@kublai.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i X-Sender: If your mailer pays attention to this, it's broken. X-PGP-Info: finger shmit@kublai.com for my public key. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm working on a project that requires the functionality of dlopen() and friends, but I want to link it statically. I was thinking that I could do this by munging together various ELF files at run-time and scarfing symbols (the way kldload does things, if I'm not mistaken). I'm at a loss as to how to proceed, though. Is there some kind of interface for this, or am I going to have to hack it together myself? -- Brian Cully They Might Be Giant's Dial-a-Song service: (718) 387-6962. ``Free when you call from work!'' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message