On Tue, Mar 25, 2003 at 11:18:45PM +0000, Keith Whitwell wrote:
> 
> >>My impression is that a patch trying to add a dlopen() call to one of 
> >>the xfree86 hosted ddx drivers would be rejected.
> >
> >
> >Last I looked at the XF86 loader, it had some stuff in it that implied 
> >to me that it couldn't simply be treated as a wrapper for dlopen(), 
> >dlsym(), etc.
> >I don't remember the details right now.
> 
> 
> Yes, the XFree86 modules aren't regular .so type shared objects -- but the 
> thing we're interested in loading *is*, so we'd be forced to used dlopen() 
> to get it in the server.

The XFree86 loader is capabile of loading .so or .a files. It has the
support to resolve the symbols already. The dlloader.c and elfloader.c
manage this respectively.

Obviously the .so format being non-portable.

There's a few loader commands to resolve symbols and find if they exist
etc - the behaviour being like GetProcAddress() too.

Alan.


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to