From owner-freebsd-current Mon Jan 11 15:14:57 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA16704 for freebsd-current-outgoing; Mon, 11 Jan 1999 15:14:57 -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 PAA16699 for ; Mon, 11 Jan 1999 15:14:53 -0800 (PST) (envelope-from peter.jeremy@auss2.alcatel.com.au) Received: by border.alcanet.com.au id <40336>; Tue, 12 Jan 1999 10:13:30 +1100 Date: Tue, 12 Jan 1999 10:14:08 +1100 From: Peter Jeremy Subject: Re: Boot.flp doesn't To: current@FreeBSD.ORG Message-Id: <99Jan12.101330est.40336@border.alcanet.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 10 Jan 1999, Jordan K. Hubbard wrote: > > it looks like the loader doesn't understand a gzipped kernel. > > Yeah, it also looks like we're going to be out of the release business > for awhile. We've hit another space crunch and I'm not yet sure > what to do about it. I'm not sure how much space we need, but since speed is not an issue [we want a kernel we can install with, not one to keep] adding '-malign-loops=0 -malign-jumps=0 -malign-functions=0' will shrink things a bit (by removing all instruction alignment padding). Additionally, -fomit-frame-pointer will save a couple of bytes per function (and there are a lot of functions in the kernel). Some of the other `-f' options should reduce code size, but I'm not sure which ones are safe in gcc 2.7.2.1. These will also come in handy when it becomes necessary to shrink boot2 those few essential bytes... Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message