lkml.org 
[lkml]   [2001]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: stripping symbols from modules
H. Peter Anvin wrote:

>Is there any way to export only
> > selected symbols as required by insmod ? As of now I am not worried
> > about ksymoops.
> >
>
> I think "strip --strip-unneeded" is what you want.
>

I think you will find "--strip-unneeded" will toss out init_module
and cleanup_module (and perhaps others). Using "strip -g -x ..."
would leave the important bits in place IIRC (at least on 2.2.x).

Paul.



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.101 / U:2.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site