Subject: Re: Add NO_RCSID option?
To: None <>
From: Ian Zagorskih <>
List: tech-kern
Date: 04/28/2005 13:45:05
On Thursday 28 April 2005 13:43, Matt Thomas wrote:
> 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.

But it spends space on flash :)

> 2) Because you can use objcopy to strip the section with RCS ids:
>    objcopy -R .comment -R .ident netbsd netbsd2

Mmmm, good point, thanks. I'll try this.

// wbr