From owner-cvs-all Wed Sep 30 12:09:05 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA28992 for cvs-all-outgoing; Wed, 30 Sep 1998 12:09:05 -0700 (PDT) (envelope-from owner-cvs-all) Received: from ceia.nordier.com (m2-60-dbn.dial-up.net [196.34.155.124]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA28977; Wed, 30 Sep 1998 12:08:36 -0700 (PDT) (envelope-from rnordier@nordier.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.7/8.6.12) id VAA01443; Wed, 30 Sep 1998 21:07:55 +0200 (SAT) From: Robert Nordier Message-Id: <199809301907.VAA01443@ceia.nordier.com> Subject: Re: cvs commit: src/sys/i386/conf kernel.script Makefile.i386 In-Reply-To: <199809301214.FAA22936@freefall.freebsd.org> from Peter Wemm at "Sep 30, 98 05:14:39 am" To: peter@FreeBSD.ORG (Peter Wemm) Date: Wed, 30 Sep 1998 21:07:52 +0200 (SAT) Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Peter Wemm wrote: > I'm not sure if btxboot is going to like this, it doesn't do proper ELF > header checking and assumes that there are exactly two program header > entries and that they are both PT_LOAD entries - a bad assumption. Definitely. Though with only 4896 bytes for the whole program, the necessary trick is really knowing what assumptions are benign. :-( Anyway, thanks for the warning. There's an updated version at http://www.freebsd.org/~rnordier/btxboot-0.8.1.tar.gz Incidentally, gcc 2.7.2.1's optimization for space on the i386 probably deserves a bit of respect; fitting a 725-line C program into that amount of space ain't too bad for any compiler. (TenDRA doesn't even come close.) -- Robert Nordier