lkml.org 
[lkml]   [2008]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: How to link a .o with all modules
Kumar Gala wrote:
> 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).
>

Why is having them as an EXPORT_SYMBOL() counterproductive? It sounds
like *exactly* what you need -- and then having the kernel provide the
same code to modules, instead of replication...?

-hpa


\
 
 \ /
  Last update: 2008-05-05 01:33    [W:0.074 / U:2.140 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site