More linux work. Getting a bit closer, but JIT does still not work.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@119 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2008-08-01 08:37:19 +00:00
parent 3d769df036
commit 53ee26711e
11 changed files with 41 additions and 27 deletions

View File

@ -53,7 +53,11 @@ void* AllocateExecutableMemory(int size)
#else
void* retval = mmap(0, size, PROT_READ | PROT_WRITE | PROT_EXEC,
MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); // | MAP_FIXED
MAP_ANONYMOUS | MAP_PRIVATE
#ifdef __x86_64__
| MAP_32BIT
#endif
, -1, 0); // | MAP_FIXED
printf("mappah exe %p %i\n", retval, size);
if (!retval)