mirror of git://gcc.gnu.org/git/gcc.git
ffi_darwin.c (ffi_prep_args): Fix typo in INT64 case.
* src/powerpc/ffi_darwin.c (ffi_prep_args): Fix typo in INT64 case. From-SVN: r154932
This commit is contained in:
parent
315df37387
commit
7837c24708
|
@ -1,4 +1,9 @@
|
||||||
2009-11-30 David Edelsohn <edelsohn@gnu.org>
|
2009-12-02 David Edelsohn <edelsohn@gnu.org>
|
||||||
|
|
||||||
|
* src/powerpc/ffi_darwin.c (ffi_prep_args): Fix typo in INT64
|
||||||
|
case.
|
||||||
|
|
||||||
|
2009-12-01 David Edelsohn <edelsohn@gnu.org>
|
||||||
|
|
||||||
* src/powerpc/aix.S (ffi_call_AIX): Convert to more standard
|
* src/powerpc/aix.S (ffi_call_AIX): Convert to more standard
|
||||||
register usage. Call ffi_prep_args directly. Add long double
|
register usage. Call ffi_prep_args directly. Add long double
|
||||||
|
|
|
@ -183,7 +183,7 @@ void ffi_prep_args(extended_cif *ecif, unsigned long *const stack)
|
||||||
case FFI_TYPE_UINT64:
|
case FFI_TYPE_UINT64:
|
||||||
case FFI_TYPE_SINT64:
|
case FFI_TYPE_SINT64:
|
||||||
#ifdef POWERPC64
|
#ifdef POWERPC64
|
||||||
gprvalue = *(long long *) p_argv;
|
gprvalue = *(long long *) *p_argv;
|
||||||
goto putgpr;
|
goto putgpr;
|
||||||
#else
|
#else
|
||||||
*(long long *) next_arg = *(long long *) *p_argv;
|
*(long long *) next_arg = *(long long *) *p_argv;
|
||||||
|
|
Loading…
Reference in New Issue