Implement FFI_EXEC_TRAMPOLINE_TABLE allocator for iOS/ARM.

This provides working closure support on iOS/ARM devices where
PROT_WRITE|PROT_EXEC is not permitted. The code passes basic
smoke tests, but requires further review.
This commit is contained in:
Landon Fuller
2010-09-19 14:36:45 -07:00
parent b00ff3e98f
commit 83038cf24a
3 changed files with 219 additions and 83 deletions
+2 -2
View File
@@ -3,8 +3,8 @@
.text
.align 12
.globl _ffi_closure_trampoline_table
_ffi_closure_trampoline_table:
.globl _ffi_closure_trampoline_table_page
_ffi_closure_trampoline_table_page:
// trampoline
// Save to stack