Subject: Re: sys/lib/libsa: Cleanup and making stuff "smaller".
To: None <tech-kern@netbsd.org>
From: Simon Burge <simonb@telstra.com.au>
List: tech-kern
Date: 02/23/1999 12:22:48
Krister Walfridsson wrote:

> On Tue, 23 Feb 1999, Simon Burge wrote:
> 
> > FWIW, egcs _did_ break the available code size with the 1.3 bootblock
> > source :-)
> 
> Have you tried passing -Os (optimizing for size) and -fno-gcse (I think
> it should be implied by -Os, but I'm not sure) to the compiler?

Cool.  -Os reduced the code size from 7584 bytes to 7520 bytes (saving
64 bytes), but adding -fno-gcse after that increased code size by 16
bytes.

Thanks,
Simon.