Commit 7822a324dc2f437fe0efab615e96c40cc4624bd9

Thomas de Grivel 2024-01-10T00:28:25

aarch64 c99

diff --git a/src/aarch64/ffi.c b/src/aarch64/ffi.c
index 6544ac0..3c7bae1 100644
--- a/src/aarch64/ffi.c
+++ b/src/aarch64/ffi.c
@@ -877,7 +877,7 @@ ffi_prep_closure_loc (ffi_closure *closure,
     0xf1, 0xff, 0xff, 0x10,	/* adr	x17, tramp+0	*/
     0x00, 0x02, 0x1f, 0xd6	/* br	x16		*/
   };
-  char *tramp = closure->tramp;
+  char *tramp = closure->tramp.tramp;
 
 # if defined(FFI_EXEC_STATIC_TRAMP)
   if (ffi_tramp_is_present(closure))
@@ -887,7 +887,7 @@ ffi_prep_closure_loc (ffi_closure *closure,
           start = ffi_closure_SYSV_V_alt;
       else
           start = ffi_closure_SYSV_alt;
-      ffi_tramp_set_parms (closure->ftramp, start, closure);
+      ffi_tramp_set_parms (closure->tramp.ftramp, start, closure);
       goto out;
     }
 # endif