Changed page zero size to 4 kB to fix problem on OS X 10.10.

This commit is contained in:
Dan Sumorok 2014-11-29 19:45:47 -05:00
parent 4f162dc6e3
commit b1270264a1
1 changed files with 1 additions and 3 deletions

View File

@ -1777,9 +1777,7 @@ if [[ "x$HAVE_IPA" = "xyes" ]]; then
fi
if [[ "x$LP64_DEFINED" = "xyes" ] && [ "x$have_mach_vm" = "xyes" ]]; then
LIBS+=" -Wl,-pagezero_size,0x20000000"
#LIBS+=" -Wl,-segaddr,__TEXT,0x60000000"
LIBS+=" -Wl,-segaddr,__PAGEZERO,0x20000000"
LIBS+=" -Wl,-pagezero_size,0x1000"
fi
if [[ ${OS_TYPE} = darwin ]]; then