From 8adc601ba8dfd68676fc702cd30075643967f2fd Mon Sep 17 00:00:00 2001 From: Valery Ushakov Date: Mon, 4 Jan 2021 02:42:43 +0300 Subject: NetBSD/arm: disable pax mprotect restrictions for emu ARM has separate read and execute protection bits so after writing out JIT code we need to make it executable with mprotect(2), but PAX wouldn't let us by default. Mark the emu binary so that this restriction is lifted. On other machines where this is not an issue set PAXCTL to a no-op. --- mkfiles/mkfile-NetBSD-power | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mkfiles/mkfile-NetBSD-power') diff --git a/mkfiles/mkfile-NetBSD-power b/mkfiles/mkfile-NetBSD-power index 1ac7e58e..ae7f86c8 100644 --- a/mkfiles/mkfile-NetBSD-power +++ b/mkfiles/mkfile-NetBSD-power @@ -26,5 +26,7 @@ LDFLAGS= SYSLIBS= +PAXCTL= : + YACC= iyacc YFLAGS= -d -- cgit v1.2.3