aboutsummaryrefslogtreecommitdiff
path: root/libffi/src/powerpc/aix.S
diff options
context:
space:
mode:
authorAnthony Green <green@gcc.gnu.org>2012-03-04 21:11:09 +0000
committerAnthony Green <green@gcc.gnu.org>2012-03-04 21:11:09 +0000
commit34fa7690ac66c6d3c5ddb1d35d267836e3c23f3d (patch)
tree3289bacfc83a97eaf50f42a61d0b9a06f4c76e9c /libffi/src/powerpc/aix.S
parent8b59af5c6af6e67e151b72e48074f58b677b2e42 (diff)
downloadgcc-34fa7690ac66c6d3c5ddb1d35d267836e3c23f3d.zip
gcc-34fa7690ac66c6d3c5ddb1d35d267836e3c23f3d.tar.gz
gcc-34fa7690ac66c6d3c5ddb1d35d267836e3c23f3d.tar.bz2
Merge upstream libffi
From-SVN: r184897
Diffstat (limited to 'libffi/src/powerpc/aix.S')
-rw-r--r--libffi/src/powerpc/aix.S6
1 files changed, 5 insertions, 1 deletions
diff --git a/libffi/src/powerpc/aix.S b/libffi/src/powerpc/aix.S
index c6f8764..213f2db 100644
--- a/libffi/src/powerpc/aix.S
+++ b/libffi/src/powerpc/aix.S
@@ -1,5 +1,5 @@
/* -----------------------------------------------------------------------
- aix.S - Copyright (c) 2002,2009 Free Software Foundation, Inc.
+ aix.S - Copyright (c) 2002, 2009 Free Software Foundation, Inc.
based on darwin.S by John Hornkvist
PowerPC Assembly glue.
@@ -79,6 +79,8 @@
.set f20,20
.set f21,21
+ .extern .ffi_prep_args
+
#define LIBFFI_ASM
#include <fficonfig.h>
#include <ffi.h>
@@ -125,6 +127,7 @@ ffi_call_AIX:
/* Call ffi_prep_args. */
mr r4, r1
bl .ffi_prep_args
+ nop
/* Now do the call. */
ld r0, 0(r29)
@@ -226,6 +229,7 @@ L(float_return_value):
/* Call ffi_prep_args. */
mr r4, r1
bl .ffi_prep_args
+ nop
/* Now do the call. */
lwz r0, 0(r29)