From owner-freebsd-hackers Wed Mar 24 10:40: 3 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id A607D14F2F for ; Wed, 24 Mar 1999 10:39:36 -0800 (PST) (envelope-from sprice@hiwaay.net) Received: from localhost (sprice@localhost) by mail.HiWAAY.net (8.9.1a/8.9.0) with SMTP id MAA11863; Wed, 24 Mar 1999 12:39:12 -0600 (CST) Date: Wed, 24 Mar 1999 12:39:12 -0600 (CST) From: Steve Price To: John Polstra Cc: Nate Williams , freebsd-hackers@FreeBSD.ORG Subject: Re: dladdr(3) question In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 24 Mar 1999, John Polstra wrote: # > I'm not *real* familiar with the loader code, but given it's already # > implemented for a.out I suspect it should be easy to add to the elf # > loader. # # Yes, it should be easy. The infrastructure is already there in # rtld.c, such as the obj_from_addr() function. Then you'd have to # add an entry for it to the "exports" array, and put a dummy stub # into "src/lib/libc/gen/dlfcn.c". The dummy stub is there. That is where I'm getting the "Service unavailable" mesage from. I wondered where that was coming from. :) # I'll try to get to it soon. Or if you feel like doing it yourself, I # could review it for you. I have half an implementation going. I'll fumble around and get something close and then I'll get back with you. Thanks for the offer of help. Hope you get better soon! -steve # John # --- # John Polstra jdp@polstra.com # John D. Polstra & Co., Inc. Seattle, Washington USA # "Self-interest is the aphrodisiac of belief." -- James V. DeLong # # To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message