Subject: Re: Add NO_RCSID option?
To: Ian Zagorskih <ianzag@megasignal.com>
From: Matt Thomas <matt@3am-software.com>
List: tech-kern
Date: 04/27/2005 23:43:33
Ian Zagorskih wrote:
> Sometimes it's required to build kernel as small as possibly. For example, for
> embedded devices etc. In this case, every 10k of data can be valuable. On the
> other hand, production embedded device rarely needs fully idented executable
> files (sometimes it's even very undesirable).
1) The RCSid are not contained in LOAD sections. So when the kernel is
loaded, they stay behind.
2) Because you can use objcopy to strip the section with RCS ids:
objcopy -R .comment -R .ident netbsd netbsd2
--
Matt Thomas email: matt@3am-software.com
3am Software Foundry www: http://3am-software.com/bio/matt/
Cupertino, CA disclaimer: I avow all knowledge of this message.