Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Sep 1998 21:07:52 +0200 (SAT)
From:      Robert Nordier <rnordier@nordier.com>
To:        peter@FreeBSD.ORG (Peter Wemm)
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/i386/conf kernel.script Makefile.i386
Message-ID:  <199809301907.VAA01443@ceia.nordier.com>
In-Reply-To: <199809301214.FAA22936@freefall.freebsd.org> from Peter Wemm at "Sep 30, 98 05:14:39 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809301907.VAA01443>