OSDN Git Service

* src/powerpc/ffi_darwin.c (ffi_prep_args): Fix typo in INT64
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Dec 2009 01:32:21 +0000 (01:32 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Dec 2009 01:32:21 +0000 (01:32 +0000)
        case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154932 138bc75d-0d04-0410-961f-82ee72b054a4

libffi/ChangeLog
libffi/src/powerpc/ffi_darwin.c

index c0adaa9..aded4f2 100644 (file)
@@ -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
        register usage.  Call ffi_prep_args directly.  Add long double
index 53dbdb2..01550a3 100644 (file)
@@ -183,7 +183,7 @@ void ffi_prep_args(extended_cif *ecif, unsigned long *const stack)
        case FFI_TYPE_UINT64:
        case FFI_TYPE_SINT64:
 #ifdef POWERPC64
-         gprvalue = *(long long *) p_argv;
+         gprvalue = *(long long *) *p_argv;
          goto putgpr;
 #else
          *(long long *) next_arg = *(long long *) *p_argv;