John Baldwin wrote:
>
> On 07-Feb-00 Bruce Evans wrote:
> > On Mon, 7 Feb 2000, Ruslan Ermilov wrote:
> >
> >> If I boot the system without loader(8), e.g. with /boot.config=kernel,
> >> or by interrupting boot blocks and typing /kernel, swapinfo(8) fails:
> >>
> >> swapinfo: undefined symbol: _numvnodes
> >
> > This is because the elf format puts static symbols in an out-of-the-way
> > section, and the boot2 stage of the bootstrap loads sections naively.
> > Static symbols end up in a place where the kernel linker can't find
> > them. `numvnodes' is a static symbol... Global symbols are found
> > correctly.
>
> So all that needs to be fixed is for boot2.c to be more intelligent with ELF
> images then?
No, boot2 doesn't have room for this.
Cheers,
-Peter
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message