Subject: Re: CVS commit: src/distrib
To: None <tsutsui@netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: source-changes
Date: 02/02/2003 11:35:38
Izumi Tsutsui wrote:
> BTW, should we also add "-mmemcpy" here to reduce code size?
On the mipsco port, -mmemcpy lead to some drop in code size:
thoreau 138> size -t *.cro | sed -ne 1p -e '$p'
text data bss dec hex filename
1290628 40624 866992 2198244 218ae4 (TOTALS)
thoreau 139> size ../ramdiskbin.OLD ramdiskbin
text data bss dec hex filename
2054792 70324 918652 3043768 2e71b8 ../ramdiskbin.OLD
2040648 70324 918652 3029624 2e3a78 ramdiskbin
but a problem is that we still pull in the libraries that were built
with the default compile flags (so we have ~800k of library code that
could be shrunk a little). I don't know if building the libraries too
under src/distrib/*/ramdisk is overkill or not (though I suspect it
would be).
Simon.
--
Simon Burge <simonb@wasabisystems.com>
NetBSD Support and Service: http://www.wasabisystems.com/