Re: stripping symbols from modules

Paul Gortmaker (p_gortmaker@yahoo.com)
Wed, 24 Jan 2001 13:36:46 -0500


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/