From: deraadt Date: Wed, 11 Jan 2023 15:14:01 +0000 (+0000) Subject: the kernel on mips64 (octeon, loongson) is in good enough shape to run X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a291dbc8f8e5fa57b4cf84757ce5f29f2d10230f;p=openbsd the kernel on mips64 (octeon, loongson) is in good enough shape to run --execute-only ld.so (meaning FLAGS (1) on the LOAD line for the text segment, in the ld.script). the linker, when using built-in linker scripts, is not ready yet for other libraries / binaries.. --- diff --git a/libexec/ld.so/mips64/ld.script b/libexec/ld.so/mips64/ld.script index 2c141a6c22b..63d114facca 100644 --- a/libexec/ld.so/mips64/ld.script +++ b/libexec/ld.so/mips64/ld.script @@ -1,7 +1,7 @@ PHDRS { rodata PT_LOAD FILEHDR PHDRS FLAGS (4); - text PT_LOAD; + text PT_LOAD FLAGS (1); btext PT_LOAD FLAGS (0x08000005); data PT_LOAD; random PT_OPENBSD_RANDOMIZE;