NetBSD/arm: segflush - use mprotect to add PROT_EXEC
authorValery Ushakov <uwe@stderr.spb.ru>
Mon, 4 Jan 2021 00:00:19 +0000 (03:00 +0300)
committerValery Ushakov <uwe@stderr.spb.ru>
Mon, 4 Jan 2021 00:00:19 +0000 (03:00 +0300)
commite273317811820976dda632b0893960646d6e1119
tree49fcdb1823fca336a6bb6d96b675d85fb867ca6e
parent8adc601ba8dfd68676fc702cd30075643967f2fd
NetBSD/arm: segflush - use mprotect to add PROT_EXEC

ARM has separate read and execute protection bits so after writing out
JIT code we need to make it executable.
emu/NetBSD/segflush-arm.c