Re: stripping symbols from modules

Keith Owens (kaos@ocs.com.au)
Wed, 24 Jan 2001 10:06:23 +1100


On Tue, 23 Jan 2001 17:34:15 -0500,
"MEHTA,HIREN (A-SanJose,ex1)" <hiren_mehta@agilent.com> wrote:
>Is there any way to strip symbols from modules .o files ?

Not safely. Some symbols must be kept to assist insmod and hot
plugging, strip does not know about these special symbols.

Why do you need to strip modules anyway? I don't see the point unless
you are critically low on disk space. Stripping the symbols makes it
much harder to debug oops in modules, ksymoops needs all the symbols.

-
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/