summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2022-11-25 14:56:57 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2022-11-25 14:56:57 +0000
commit40a36fe7e0d77aa8eaf32774858c58005ac999c1 (patch)
tree9fe69c587929cfeba9f0a3d41a8ece442b4900c0 /sys/arch
parentfaacce628d0c65c1e1c0210f47fe4fe873a55d03 (diff)
Add ld.so linker script for mips64
Since the introduction of automatic immutable from the kernel, the munmap() of ld.so boot.text region is now (silently) failing because the region is contained within the text LOAD, which is immutable. So create a new btext LOAD with flags PF_X|PF_R|PF_OPENBSD_MUTABLE, and place all boot.text objects in there. This LOAD must also be page-aligned so it doesn't skip unmapping some of the object region, previously it was hilariously unaligned. OK deraadt@
Diffstat (limited to 'sys/arch')
0 files changed, 0 insertions, 0 deletions