Split early startup code out of locore.S into locore0.S. Adjust link
authorderaadt <deraadt@openbsd.org>
Thu, 8 Jun 2017 05:35:23 +0000 (05:35 +0000)
committerderaadt <deraadt@openbsd.org>
Thu, 8 Jun 2017 05:35:23 +0000 (05:35 +0000)
commiteb3c5389400128d1bdc6ef9d13b9cdc459361e87
tree58da257dd430d68a5a6748080bcfbd450284ebbd
parent4026ca2ce616b3b0daef1101cb59e7229150c206
Split early startup code out of locore.S into locore0.S.  Adjust link
run so that this locore0.o is always at the start of the executable.
But randomize the link order of all other .o files in the kernel, so
that their exec/rodata/data/bss segments land all over the place.

I haven't worked on the unmap/smashing of the startup code yet.
sys/arch/landisk/conf/Makefile.landisk
sys/arch/landisk/conf/files.landisk
sys/arch/landisk/landisk/locore.S
sys/arch/landisk/landisk/locore0.S [new file with mode: 0644]