On 2020/04/22 19:10, maya%NetBSD.org@localhost wrote:
On Wed, Apr 22, 2020 at 09:23:21AM +0000, Rin Okuyama wrote:Module Name: src Committed By: rin Date: Wed Apr 22 09:23:21 UTC 2020 Modified Files: src/sys/sys: cdefs.h Log Message: For NO_KERNEL_RCSIDS, strip __RCSID() also for src/common/*.Since these live in their own ELF section, wouldn't it be easier to use strip(1) to remove them, than modify source code?
Well, I'm planning to add kernel option to strip non-global symbols (mainly for sun2, which is suffering from severe memory shortage). I will consider to re-implement NO_KERNEL_RCSIDS option in sys/conf/Makefile.kern.inc, at the same time. Thanks, rin