Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 1999 13:48:51 +1100
From:      Peter Jeremy <peter.jeremy@auss2.alcatel.com.au>
To:        current@FreeBSD.ORG
Subject:   Re: Boot.flp doesn't
Message-ID:  <99Jan12.134812est.40322@border.alcanet.com.au>

next in thread | raw e-mail | index | archive | help
I wrote:
[use make 'COPTFLAGS=-O -malign-loops=0 -malign-jumps=0
 -malign-functions=0 -fomit-frame-pointer' to shrink the kernel]

I just tried this with a 3.0-RELEASE GENERIC kernel.  Unfortunately,
the text space only shrunk by 3000 bytes :-(.  I would have expected
quite a bit more.  [One problem is that the text space within object
files is padded to a 16-byte boundary - this is probably worth ~2.5K,
but can't be recovered using the standard toolchain AFAIK].

There is, however ~130K of text strings in the kernel - 3-4K of which
is duplicate.  Maybe we need to look at how much of this is necessary.

Peter

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99Jan12.134812est.40322>