Fixed DEP bug

This commit is contained in:
David Anderson 2006-02-02 09:34:06 +00:00
parent dcae78a389
commit 63b10cfaf5
3 changed files with 7 additions and 1 deletions

Binary file not shown.

View File

@ -994,7 +994,7 @@ int AMXAPI amx_Init(AMX *amx,void *program)
#if defined JIT
#define CODESIZE_JIT 8192 /* approximate size of the code for the JIT */
#define CODESIZE_JIT 65536 /* approximate size of the code for the JIT */
#if defined __WIN32__ /* this also applies to Win32 "console" applications */

View File

@ -304,7 +304,11 @@
%endmacro
%ifdef WIN32
section .data exec
%else
section .text
%endif
global asm_runJIT, _asm_runJIT
@ -437,7 +441,9 @@ reloc_done:
; in the compiled code. This is fine, but the .text section in an ELF executable
; is usually marked read-only, that's why this code is in the .data section.
%ifndef WIN32
section .data exec
%endif
OP_LOAD_PRI:
;nop;