Update README
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
diff --git a/README b/README
index 7261f70..4eb2051 100644
--- a/README
+++ b/README
@@ -54,6 +54,7 @@ tested:
| Alpha | Linux |
| Alpha | Tru64 |
| ARM | Linux |
+| ARM | iOS |
| AVR32 | Linux |
| HPPA | HPUX |
| IA-64 | Linux |
@@ -139,13 +140,12 @@ History
See the ChangeLog files for details.
3.0.10 ???-??-??
+ Add iOS support.
Fix the N64 build on mips-sgi-irix6.5.
- Testsuite fixes for Tru64 Unix.
Enable builds with Microsoft's compiler.
- Enable x86 builds with Sun's compiler.
-
-3.0.10 ???-??-??
- Fix the N64 build on mips-sgi-irix6.5.
+ Enable x86 builds with Oracle's Solaris compiler.
+ Fix support for calling code compiled with Oracle's Sparc
+ Solaris compiler.
Testsuite fixes for Tru64 Unix.
3.0.9 Dec-31-09
diff --git a/patches/ios b/patches/ios
index 71f0d17..36ce29c 100644
--- a/patches/ios
+++ b/patches/ios
@@ -487,7 +487,7 @@ Index: libffi/src/arm/ffi.c
+ fprintf(stderr, "vm_allocate() failure: %d at %s:%d\n", kt, __FILE__, __LINE__);
+ break;
+ }
-+
++
+ /* Now drop the second half of the allocation to make room for the trampoline table */
+ vm_address_t trampoline_page = config_page+PAGE_SIZE;
+ kt = vm_deallocate (mach_task_self (), trampoline_page, PAGE_SIZE);
@@ -518,7 +518,7 @@ Index: libffi/src/arm/ffi.c
+ table->free_count = FFI_TRAMPOLINE_COUNT;
+ table->config_page = config_page;
+ table->trampoline_page = trampoline_page;
-+
++
+ /* Create and initialize the free list */
+ table->free_list_pool = calloc(FFI_TRAMPOLINE_COUNT, sizeof(ffi_trampoline_table_entry));
+
@@ -602,7 +602,7 @@ Index: libffi/src/arm/ffi.c
+ /* Remove from the list */
+ if (table->prev != NULL)
+ table->prev->next = table->next;
-+
++
+ if (table->next != NULL)
+ table->next->prev = table->prev;
+
@@ -786,6 +786,15 @@ Index: libffi/src/arm/sysv.S
/* Below are VFP hard-float ABI call and closure implementations.
+@@ -371,7 +401,7 @@ LSYM(Lbase_args):
+ @ assume no return value.
+ cmp r2, #0
+ beq LSYM(Lepilogue_vfp)
+-
++
+ cmp r3, #FFI_TYPE_INT
+ streq r0, [r2]
+ beq LSYM(Lepilogue_vfp)
Index: libffi/src/closures.c
===================================================================
--- libffi.orig/src/closures.c
@@ -812,3 +821,33 @@ Index: libffi/src/closures.c
#define USE_LOCKS 1
#define USE_DL_PREFIX 1
+Index: libffi/README
+===================================================================
+--- libffi.orig/README
++++ libffi/README
+@@ -54,6 +54,7 @@ tested:
+ | Alpha | Linux |
+ | Alpha | Tru64 |
+ | ARM | Linux |
++| ARM | iOS |
+ | AVR32 | Linux |
+ | HPPA | HPUX |
+ | IA-64 | Linux |
+@@ -139,13 +140,12 @@ History
+ See the ChangeLog files for details.
+
+ 3.0.10 ???-??-??
++ Add iOS support.
+ Fix the N64 build on mips-sgi-irix6.5.
+- Testsuite fixes for Tru64 Unix.
+ Enable builds with Microsoft's compiler.
+- Enable x86 builds with Sun's compiler.
+-
+-3.0.10 ???-??-??
+- Fix the N64 build on mips-sgi-irix6.5.
++ Enable x86 builds with Oracle's Solaris compiler.
++ Fix support for calling code compiled with Oracle's Sparc
++ Solaris compiler.
+ Testsuite fixes for Tru64 Unix.
+
+ 3.0.9 Dec-31-09