From: Sam R. <sa...@ra...> - 2004-08-31 19:41:45
|
On Tue, Aug 31, 2004 at 08:41:19AM -0700, Ian Romanick wrote: > Keith Whitwell wrote: > > >It should be possible to avoid the whole DRM(fff) thing using linker > >directives to designate what symbols are exported from the final > >drm_xyz.o object, in the same way that static symbols don't get exported > >from individual object files. > > That can be done without any linker magic by just putting > __attribute__((visibility("hidden"))) on functions / variables that > aren't supposed to be exported. I don't know if that's how the main > kernel folks would want it done, though. I have not looked into this in detail. But I fail to see how DRM are different than for example lib-sata, that do not play all these tricks. Sam |