view portasm/gen-masm.sh @ 202:030fbb70aa1b

- changed allocwx code: * to introduce a call allowing to switch the written page to be executable (e.g. using mprotect) * changed mmap based code so page is always W^X
author Tassilo Philipp
date Mon, 20 Mar 2017 23:12:58 +0100
parents 3e629dc19168
children ab2d78e48ca2
line wrap: on
line source

#!/bin/sh
gcc -E -P -DGEN_MASM $1.S >$1.asm