This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] libffi frv: remove some not needed stuff


Hi all,

this seems to be cut & paste left over.

Ok to remove, or do I have to wait until 4.1?

Andreas

2005-02-06 Andreas Tobler <a.tobler@schweiz.ch>

* src/frv/ffitarget.h: Remove PPC stuff which does not belong to frv.

Index: src/frv/ffitarget.h
===================================================================
RCS file: /cvs/gcc/gcc/libffi/src/frv/ffitarget.h,v
retrieving revision 1.1
diff -u -r1.1 ffitarget.h
--- src/frv/ffitarget.h	30 Aug 2004 15:43:03 -0000	1.1
+++ src/frv/ffitarget.h	6 Feb 2005 13:49:47 -0000
@@ -28,10 +28,6 @@
 
 /* ---- System specific configurations ----------------------------------- */
 
-#if defined (POWERPC) && defined (__powerpc64__)
-#define POWERPC64
-#endif
-
 #ifndef LIBFFI_ASM
 typedef unsigned long          ffi_arg;
 typedef signed long            ffi_sarg;
@@ -44,29 +40,6 @@
   FFI_DEFAULT_ABI = FFI_EABI,
 #endif
 
-#ifdef POWERPC
-  FFI_SYSV,
-  FFI_GCC_SYSV,
-  FFI_LINUX64,
-# ifdef POWERPC64
-  FFI_DEFAULT_ABI = FFI_LINUX64,
-# else
-  FFI_DEFAULT_ABI = FFI_GCC_SYSV,
-# endif
-#endif
-
-#ifdef POWERPC_AIX
-  FFI_AIX,
-  FFI_DARWIN,
-  FFI_DEFAULT_ABI = FFI_AIX,
-#endif
-
-#ifdef POWERPC_DARWIN
-  FFI_AIX,
-  FFI_DARWIN,
-  FFI_DEFAULT_ABI = FFI_DARWIN,
-#endif
-
   FFI_LAST_ABI = FFI_DEFAULT_ABI + 1
 } ffi_abi;
 #endif
@@ -78,11 +51,10 @@
 
 #ifdef __FRV_FDPIC__
 /* Trampolines are 8 4-byte instructions long.  */
-#define FFI_TRAMPOLINE_SIZE (8*4) 
+#define FFI_TRAMPOLINE_SIZE (8*4)
 #else
 /* Trampolines are 5 4-byte instructions long.  */
-#define FFI_TRAMPOLINE_SIZE (5*4) 
+#define FFI_TRAMPOLINE_SIZE (5*4)
 #endif
 
 #endif
-

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]