6b7a14ce57
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. |
||
---|---|---|
.. | ||
defines | ||
files | ||
files.alpha | ||
files.i386 | ||
files.pc98 | ||
kern.mk | ||
kmod.mk | ||
ldscript.alpha | ||
ldscript.amd64 | ||
ldscript.i386 | ||
ldscript.powerpc | ||
majors | ||
Makefile.alpha | ||
Makefile.i386 | ||
Makefile.pc98 | ||
Makefile.powerpc | ||
newvers.sh | ||
nfsswapkernel.c | ||
NOTES | ||
options | ||
options.alpha | ||
options.i386 | ||
options.pc98 | ||
param.c | ||
systags.sh |