CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2020/07/18 07:16:32

Modified files:
        sys/arch/powerpc64/conf: ld.script 
        sys/arch/powerpc64/powerpc64: pmap.c 

Log message:
Improve kernel linker script.  Split binary in a .text, .rodata and .data
segment, but continue to cover these with a single PT_LOAD segment such
that we can continue to load kernels from the firmware Linux kernel.
This is important since our bootloader is a stripped down OpenBSD kernel
as well.

Proper page protections are installed by pmap_bootstrap().  This allows us
to add "relro" sections to the .rodata segment.

Reply via email to