How to link a .o with all modules

Kumar Gala galak at kernel.crashing.org
Mon May 5 04:22:38 EST 2008


Sam,

We have a case in powerpc in which we want to link some library  
routines with all module objects.  The routines are intended for  
handling out-of-line function call register save/restore so having  
them as EXPORT_SYMBOL() is counter productive (we do also need to link  
the same "library" code into the kernel).

Any suggestions on how to handle this?

thanks

- k



More information about the Linuxppc-dev mailing list