From owner-freebsd-current Mon Jan 11 18:49:41 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA13798 for freebsd-current-outgoing; Mon, 11 Jan 1999 18:49:41 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from alcanet.com.au (border.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA13789 for ; Mon, 11 Jan 1999 18:49:36 -0800 (PST) (envelope-from peter.jeremy@auss2.alcatel.com.au) Received: by border.alcanet.com.au id <40322>; Tue, 12 Jan 1999 13:48:12 +1100 Date: Tue, 12 Jan 1999 13:48:51 +1100 From: Peter Jeremy Subject: Re: Boot.flp doesn't To: current@FreeBSD.ORG Message-Id: <99Jan12.134812est.40322@border.alcanet.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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