Subject: Re: Problem on cross-m68k-netbsdelf compiler
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Steve Woodford <steve@mctavish.co.uk>
List: tech-toolchain
Date: 01/19/2001 18:31:28
On Sat, 20 Jan 2001, Izumi Tsutsui wrote:

> But there is still another problem. news68k bootloader uses
> MI loadfile() from libsa, but it cannot read BSS size correctly.
>               ^^^^^^
> Because of this, the symbole table is not loaded
> at correct place (which should be at "_end" symbol address).
> How does this work with hp300 and mvme68k bootloaders?

Are you using a similar loadfile_machdep.h to mvme68k/hp300? Specifically,
check the differences between when _STANDALONE is and isn't defined.

> We should switch to use bootinfo?

Indeed. I guess this will happen eventually.

> BTW, m68k ports which have hp300 derived pmap use
> a.out NMAGIC kernel to map the data segment onto
> independent pages from text. On m68k ELF kernel,
> how should this be handled? (kern.ldscript is needed?)

I wasn't aware this was a problem. Anyone else care to comment?

Cheers, Steve