Skip site navigation (1)Skip section navigation (2)
Date:       Mon, 06 Nov 2000 08:18:23 +1100
From:      Peter Jeremy <peter.jeremy@alcatel.com.au>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        Mike Smith <msmith@FreeBSD.ORG>, alpha@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/boot/alpha/common main.c src/sys/boot/al
Message-ID:  <00Nov6.091753est.115209@border.alcanet.com.au>

next in thread | raw e-mail | index | archive | help
On Fri, Oct 27, 2000 at 10:28:38AM +0100, Doug Rabson wrote:
>On Thu, 26 Oct 2000, Mike Smith wrote:
>> Forgive the silly question, but is there any reason that boot1 doesn't 
>> read the load address from the loader object?
>
>On alpha, /boot/loader is just a binary (the headers have been stripped
>off). When I wrote it, I didn't think I would be able to squeeze an ELF
>loader into the space available. Currently there are 280 bytes spare -
>probably not enough.

Any reason why you couldn't have a primitive header: eg magic number
and start address in /boot/loader.  The code to read this and
appropriately relocate /boot/loader shouldn't be too big.  I agree that
it's undesirable to wind up with yet another incompatible object
format, but having an unbootable machine because /boot/loader expects
a different load address to boot1 is even less desirable.

Peter


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00Nov6.091753est.115209>