On Sun, 2010-08-01 at 16:01 -0700, Jesse Adkins wrote: > xorg_symbols has nothing to do with module loading. > Signed-off-by: Jesse Adkins <[email protected]>
Be very very careful in doing this. I'm inclined to nak this on principle. The issue is that some symbols need to be included in the server so they can be exported to drivers. This is why we have a big table referencing them all. The problem then is making sure the _table_ is referenced, otherwise the linker can GC it away (and then GC away all the symbols it references...). Passing it to a print function is enough of a side effect to make sure it sticks around in the final link. There is assuredly a better way to do this for sensible toolchains, but instead we're using libtool. - ajax
signature.asc
Description: This is a digitally signed message part
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
