Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Sep 1998 16:02:03 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        John Birrell <jb@cimlogic.com.au>
Cc:        dima@best.net, jb@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: www/en/alpha Makefile alpha.sgml bootstrapping.sgml current.sgml 
Message-ID:  <199809300802.QAA10857@spinner.netplex.com.au>
In-Reply-To: Your message of "Wed, 30 Sep 1998 17:54:19 %2B1000." <199809300754.RAA03825@cimlogic.com.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
John Birrell wrote:
> Peter Wemm wrote:
> > Going by what I've seen, the boot blocks look OK, but they don't (yet)
> > preload kld modules - it just loads kernels at the moment.  kld itself
> > should work though.
> 
> At what point will it be possible to make a decision about whether 3.0 (i386)
> goes out with an elf kernel?

I was going to do some MI elf load and i386 and alpha elf startup code 
last night but ran out of steam while figuring out whether it was going to 
be possible to skip the need for forcing everything to be linked as a 
dynamic module (not PIC, just dynamic!) since we can for the most part get 
all the information from elsewhere (eg: section headers).

Interestingly, the alpha-elf loader pulls in the section headers already 
and ddb/db_elf.c uses them extensively.

The drawback of using the symbols and data pointed to by the section
headers is that it's removed by strip(1) while the information we get from
the tables intended for dynamic linkers survives a strip().  We could [in 
theory] run with a stripped kernel and still have internal symbol support, 
modules and have kvm_nlist() use an ioctl interface or something.

Cheers,
-Peter






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