summaryrefslogtreecommitdiffstats
path: root/libffi/src/prep_cif.c
diff options
context:
space:
mode:
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-19 22:34:17 +0000
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-19 22:34:17 +0000
commitf35c338f2758cff667f3a88436f5ffcc08be481c (patch)
tree1d5e90eb0399a43f056ab1dcedc49e1b1b1085d4 /libffi/src/prep_cif.c
parentc72d615a3adabb940107075e7718c6deb0738509 (diff)
downloadppe42-gcc-f35c338f2758cff667f3a88436f5ffcc08be481c.tar.gz
ppe42-gcc-f35c338f2758cff667f3a88436f5ffcc08be481c.zip
2004-03-19 Matthias Klose <doko@debian.org>
* Makefile.am: Update * Makefile.in: Regenerate. * src/pa/ffi.h.in: Remove. * src/pa/ffitarget.h: New file. 2004-02-10 Randolph Chung <tausq@debian.org> * Makefile.am: Add PA support. * Makefile.in: Regenerate. * include/Makefile.in: Regenerate. * configure.ac: Add PA target. * configure: Regenerate. * src/pa/ffi.c: New file. * src/pa/ffi.h.in: Add PA support. * src/pa/linux.S: New file. * prep_cif.c: Add PA support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79702 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/src/prep_cif.c')
-rw-r--r--libffi/src/prep_cif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libffi/src/prep_cif.c b/libffi/src/prep_cif.c
index 3ee5eadcd7f..33477563b8e 100644
--- a/libffi/src/prep_cif.c
+++ b/libffi/src/prep_cif.c
@@ -113,7 +113,7 @@ ffi_status ffi_prep_cif(/*@out@*/ /*@partial@*/ ffi_cif *cif,
FFI_ASSERT_VALID_TYPE(cif->rtype);
/* x86-64 and s390 stack space allocation is handled in prep_machdep. */
-#if !defined M68K && !defined __x86_64__ && !defined S390
+#if !defined M68K && !defined __x86_64__ && !defined S390 && !defined PA
/* Make space for the return structure pointer */
if (cif->rtype->type == FFI_TYPE_STRUCT
#ifdef SPARC
@@ -134,7 +134,7 @@ ffi_status ffi_prep_cif(/*@out@*/ /*@partial@*/ ffi_cif *cif,
check after the initialization. */
FFI_ASSERT_VALID_TYPE(*ptr);
-#if !defined __x86_64__ && !defined S390
+#if !defined __x86_64__ && !defined S390 && !defined PA
#ifdef SPARC
if (((*ptr)->type == FFI_TYPE_STRUCT
&& ((*ptr)->size > 16 || cif->abi != FFI_V9))
OpenPOWER on IntegriCloud