rtasm: The heap is NX on 64-bit Cygwin, so use the rtasm_exec_malloc() implementation...
authorJon TURNEY <jon.turney@dronecode.org.uk>
Sat, 21 Sep 2013 16:16:37 +0000 (17:16 +0100)
committerJon TURNEY <jon.turney@dronecode.org.uk>
Fri, 18 Oct 2013 13:16:27 +0000 (14:16 +0100)
commit87e84acbfd5e4b9cf046fa29786b8eaea4442c71
tree6fd1e6d2866b872a7673091d2afc1a099bab6825
parent9aad1ba70fad7bfa45778faa5a91235f8302264f
rtasm: The heap is NX on 64-bit Cygwin, so use the rtasm_exec_malloc() implementation which uses mmap()

The heap is NX on 64-bit Cygwin, so use the rtasm_exec_malloc() implementation
which uses mmap() to allocate an anonymous page with execute permission, rather
than the one which just uses malloc().

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/rtasm/rtasm_execmem.c