Re: loadble module

Keith Packard <[email protected]>
Newsgroups gmane.comp.freedesktop.xserver
Message-ID <[email protected]>
Around 23 o'clock on Jan 13, Sean Middleditch wrote:

> I'm probably a complete moron and missing something here, but please
> humour me: why does the server need to be a shared object for dlopen'd
> files to see the symbols?  You need only compile your binary properly (I
> forget the exact flags; -shared for gcc?) and any loaded libraries will
> see all symbols in the binary.

Really?  Cool.  /me learns something new.

> Additionally, if that isn't possible due to limitations on particular
> platforms, you can simply pass a custom symbol table (struct with function
> points) to a driver.

That would require significant source-level changes to every driver; that 
seems like a huge pain give that the loader should be able to deal with 
this.

Hack at will!

-keith
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.