Enforcing server and API in a dlloader world

Daniel Stone daniel at fooishbar.org
Mon May 23 11:36:52 PDT 2005


On Mon, May 23, 2005 at 01:51:57PM -0400, Adam Jackson wrote:
> On Monday 23 May 2005 06:43, Daniel Stone wrote:
> > On Mon, May 23, 2005 at 12:27:41PM +0200, Egbert Eich wrote:
> > > If we could turn the list of symbols into a map file while we use the
> > > apporach of specifying the symbols to export inside the code itself
> > > for the modules we have a solution which would preserve as much as
> > > possible of the resent behavior.
> >
> > The only real way to achieve this would be to generate a custom linker
> > script from xf86sym.c, which is pretty nasty.  I also don't know how
> > portable linker scripts are.
> 
> Most platforms have them, in some form or other.  I don't know how portable 
> their syntax is, I've not really played with them much.

Right.  The problem being that we'll probably spend longer buggering
around with linker scripts than we would fixing all the visibilities in
the code.

> I don't know how useful it is to have the symbol export list in one place.

Agreed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.x.org/archives/xorg-arch/attachments/20050524/0108deef/attachment.pgp


More information about the xorg-arch mailing list