Re: modules strip

From: Matthias-Christian Ott
Date: Fri Jan 21 2005 - 16:27:40 EST


Aleksey Gorelov wrote:

Hi,

I'm trying to strip modules a bit (2.6, x86) using

strip -R .not -R .comment --strip-unneeded module.ko

It seems to keep intact relocation & ksymtab symbols, tested on my
configuration and seems to reduce the overall size for about 10-15%
(usefull for embedded). Does anybody know if there is any pitfalls with
that ?

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



Hi!
Why should there be a pitfall, you just strip some usualy not needed information. But maybe this causes problems with functions or parts of the Kernel which need this information.

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