Date: Wed, 30 Sep 1998 05:14:39 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/i386/conf kernel.script Makefile.i386 Message-ID: <199809301214.FAA22936@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 1998/09/30 05:14:39 PDT
Modified files:
sys/i386/conf Makefile.i386
Added files:
sys/i386/conf kernel.script
Log:
Make the ELF kernel build produce a dynamic executable (!). This enables
the in-kernel linker to access the _DYNAMIC data for doing loadable elf
modules. The alpha kernel is already done this way, I've borrowed some of
the hacks from there.
This is primarily aimed at the 3-stage boot process which is intended to
be able to do pre-loading of kernel modules.
Note that the entry point isn't 0xf0100000 any more, it'll be a little
further on - but this value is stored in the headers. I don't think this
will be a problem, but I'm sure somebody will tell me if it is. :-)
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.
Revision Changes Path
1.125 +16 -3 src/sys/i386/conf/Makefile.i386
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809301214.FAA22936>
