aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Tobler <a.tobler@schweiz.org>2008-01-06 12:17:03 +0000
committerAndreas Tobler <andreast@gcc.gnu.org>2008-01-06 13:17:03 +0100
commit79ca8fc00bd24cc9111b24406953ce4e96ca3800 (patch)
treee880e9250da51b90e6a9c9795fe184182e906feb
parent89c32b0f910eab73ae654213a67421ddd1091af4 (diff)
downloadgcc-79ca8fc00bd24cc9111b24406953ce4e96ca3800.zip
gcc-79ca8fc00bd24cc9111b24406953ce4e96ca3800.tar.gz
gcc-79ca8fc00bd24cc9111b24406953ce4e96ca3800.tar.bz2
ffi.c (ffi_prep_cif_machdep): Fix thinko.
2008-01-06 Andreas Tobler <a.tobler@schweiz.org> * src/x86/ffi.c (ffi_prep_cif_machdep): Fix thinko. From-SVN: r131351
-rw-r--r--libffi/ChangeLog4
-rw-r--r--libffi/src/x86/ffi.c5
2 files changed, 6 insertions, 3 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog
index 0745382..d7d2d8d 100644
--- a/libffi/ChangeLog
+++ b/libffi/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-06 Andreas Tobler <a.tobler@schweiz.org>
+
+ * src/x86/ffi.c (ffi_prep_cif_machdep): Fix thinko.
+
2008-01-05 Andreas Tobler <a.tobler@schweiz.org>
PR testsuite/32843
diff --git a/libffi/src/x86/ffi.c b/libffi/src/x86/ffi.c
index 04fca5e..a4d4798 100644
--- a/libffi/src/x86/ffi.c
+++ b/libffi/src/x86/ffi.c
@@ -122,13 +122,12 @@ ffi_status ffi_prep_cif_machdep(ffi_cif *cif)
case FFI_TYPE_VOID:
#ifdef X86
case FFI_TYPE_STRUCT:
-#else
-# if defined(X86) || defined(X86_DARWIN)
+#endif
+#if defined(X86) || defined(X86_DARWIN)
case FFI_TYPE_UINT8:
case FFI_TYPE_UINT16:
case FFI_TYPE_SINT8:
case FFI_TYPE_SINT16:
-# endif
#endif
case FFI_TYPE_SINT64: