mirror of
https://github.com/partic2/libffi
synced 2026-11-10 18:17:19 +00:00
Rebase post GCC merge
This commit is contained in:
+3
-2
@@ -1,5 +1,5 @@
|
||||
/* -----------------------------------------------------------------------
|
||||
ffi.c - Copyright (c) 2003, 2004, 2006, 2007 Kaz Kojima
|
||||
ffi.c - Copyright (c) 2003, 2004, 2006, 2007, 2012 Kaz Kojima
|
||||
Copyright (c) 2008 Anthony Green
|
||||
|
||||
SuperH SHmedia Foreign Function Interface
|
||||
@@ -302,7 +302,8 @@ ffi_prep_closure_loc (ffi_closure *closure,
|
||||
{
|
||||
unsigned int *tramp;
|
||||
|
||||
FFI_ASSERT (cif->abi == FFI_GCC_SYSV);
|
||||
if (cif->abi != FFI_SYSV)
|
||||
return FFI_BAD_ABI;
|
||||
|
||||
tramp = (unsigned int *) &closure->tramp[0];
|
||||
/* Since ffi_closure is an aligned object, the ffi trampoline is
|
||||
|
||||
Reference in New Issue
Block a user