summaryrefslogtreecommitdiff
path: root/libffi/src
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-04 15:36:50 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-04 15:36:50 +0000
commitd66a47eece163b82733144c7c26e8d10f060d5e5 (patch)
tree8daa0c6a81dd374fbff0bc45491abb1557555374 /libffi/src
parentccbfad9fe4e418f45d6c41995606b66d7c0bb9fa (diff)
downloadgcc-d66a47eece163b82733144c7c26e8d10f060d5e5.tar.gz
* src/powerpc/ffi_darwin.c (ffi_closure_helper_DARWIN): Increment
pfr for long double split between fpr13 and stack. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154983 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/src')
-rw-r--r--libffi/src/powerpc/ffi_darwin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libffi/src/powerpc/ffi_darwin.c b/libffi/src/powerpc/ffi_darwin.c
index ff480b0413f..def92a56376 100644
--- a/libffi/src/powerpc/ffi_darwin.c
+++ b/libffi/src/powerpc/ffi_darwin.c
@@ -690,7 +690,7 @@ int ffi_closure_helper_DARWIN (ffi_closure* closure, void * rvalue,
ffi_type ** arg_types;
long i, avn;
ffi_cif * cif;
- ffi_dblfl *end_pfr = pfr + NUM_FPR_ARG_REGISTERS;
+ ffi_dblfl * end_pfr = pfr + NUM_FPR_ARG_REGISTERS;
unsigned size_al;
cif = closure->cif;
@@ -856,6 +856,7 @@ int ffi_closure_helper_DARWIN (ffi_closure* closure, void * rvalue,
memcpy (&temp_ld.lb[0], pfr, sizeof(ldbits));
memcpy (&temp_ld.lb[1], pgr + 2, sizeof(ldbits));
avalue[i] = &temp_ld.ld;
+ pfr++;
}
else
{