Subject: Remove printf %b support from libsa?
To: None <email@example.com>
From: Ben Harris <firstname.lastname@example.org>
Date: 04/20/2003 20:16:57
The libsa version of printf() currently supports the "%b" format for
printing bitmasks. As far as I can tell, nothing uses this (at least in
sys/lib/libsa and sys/arch/*/stand), and the equivalent in the kernel
printf was removed in August 2000.
Removing %b support from libsa as well would save 184 bytes on ARM, and
presumably a similar amount on other architectures. I suspect this would
be good for those architectures whose bootloaders are currently
overflowing (e.g. pmax by 248 bytes).
Can anyone think of a reason why I shouldn't do this? In particular, is
%b used somewhere I haven't noticed?
Ben Harris <email@example.com>
Portmaster, NetBSD/acorn26 <URL:http://www.netbsd.org/Ports/acorn26/>