Subject: Re: dlopen(0, 1) should work?
To: Simon J. Gerraty <sjg@quick.com.au>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 03/02/1998 09:52:02
On Mon, 02 Mar 1998 22:39:29 +1100
"Simon J. Gerraty" <sjg@quick.com.au> wrote:
> Yes, I saw later how the magic token was used and clearly we do not
> provide a mechanism for a program to determine which shared objects it
> has been linked with. It would be nice if there were a dl* function
> which allowed one to learn more about the shared objects...
>
> eg.
>
> so_map *dlinfo(void *handle, char *symbol)
>
> ie, like dlsym() but returning the so_map ptr. Bad data hiding I know
> :-)
What exactly does the Java engine need to know? All of this is going
to be very different on systems that use Elf, e.g. the Alpha.
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-5 Work: +1 650 604 0935
Moffett Field, CA 94035 Pager: +1 415 428 6939