3 --- asmrun/arm.S.orig 2009-05-04 13:46:46.000000000 +0000
5 @@ -38,7 +38,7 @@ caml_call_gc:
6 ldr r12, .Lcaml_requested_size
8 sub alloc_ptr, alloc_ptr, r12
14 @@ -128,7 +128,7 @@ caml_allocN:
15 ldr alloc_limit, [r12, #0]
16 /* Return to caller */
19 + mov pc,r12 /* optimize! */
21 /* Call a C function from Caml */
22 /* Function to call is in r12 */
23 @@ -149,13 +149,13 @@ caml_c_call:
24 str trap_ptr, [r7, #0]
25 /* Call the function */
29 /* Reload alloc ptr and alloc limit */
30 ldr r5, .Lcaml_young_limit
31 ldr alloc_ptr, [r6, #0] /* r6 still points to caml_young_ptr */
32 ldr alloc_limit, [r5, #0]
37 /* Start the Caml program */
39 @@ -196,7 +196,7 @@ caml_start_program:
40 ldr alloc_limit, [r4, #0]
41 /* Call the Caml code */
46 /* Pop the trap frame, restoring caml_exception_pointer */
47 ldr r4, .Lcaml_exception_pointer
48 @@ -220,7 +220,7 @@ caml_start_program:
49 str alloc_ptr, [r4, #0]
50 /* Reload callee-save registers and return */
51 ldmfd sp!, {r4,r5,r6,r7,r8,r10,r11,lr}
55 /* The trap handler */