2010-07-28 Ivan Maidanski <ivmai@mail.ru> (mostly really Noah Lavine)
authorivmai <ivmai>
Tue, 27 Jul 2010 21:30:18 +0000 (21:30 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 26 Jul 2011 17:06:54 +0000 (21:06 +0400)
commit7af378266a80aa2c83f7319158020088bb13c7fe
tree07c22cb92818b2c01dac6d9482b040704d116e6c
parentaeb6fa7919ec93d93a10b95ee53a35af1c1c56ae
2010-07-28  Ivan Maidanski <ivmai@mail.ru> (mostly really Noah Lavine)

* configure.ac (NO_EXECUTE_PERMISSION): Add comment.
* doc/README.macros (NO_EXECUTE_PERMISSION): Update the
documentation.
* include/gc.h (GC_set_pages_executable, GC_get_pages_executable):
New API function declaration.
* include/gc.h (GC_ignore_warn_proc): Reformat the comment.
* os_dep.c (OPT_PROT_EXEC): Remove (superseded by
pages_executable).
* os_dep.c (pages_executable): New static variable.
* os_dep.c (IGNORE_PAGES_EXECUTABLE): New macro (used by
GC_get_pages_executable only).
* os_dep.c (GC_unix_mmap_get_mem, GC_remap, PROTECT, UNPROTECT):
Replace OPT_PROT_EXEC with pages_executable.
* os_dep.c (GC_unix_mmap_get_mem, GC_remap, GC_win32_get_mem,
GC_wince_get_mem, UNPROTECT): Undefine IGNORE_PAGES_EXECUTABLE.
* os_dep.c (GC_win32_get_mem, GC_wince_get_mem, GC_remap, PROTECT,
UNPROTECT): Use PAGE_EXECUTE_... only if pages_executable is on.
* os_dep.c (GC_set_pages_executable, GC_get_pages_executable): New
API function definition.
ChangeLog
configure.ac
doc/README.macros
include/gc.h
os_dep.c