Commit ee31ea68 by Andreas Tobler Committed by Andreas Tobler

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

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

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

From-SVN: r94747
parent 86641a95
2005-02-08 Andreas Tobler <a.tobler@schweiz.ch>
* src/frv/ffitarget.h: Remove PPC stuff which does not belong to frv.
2005-01-12 Eric Botcazou <ebotcazou@libertysurf.fr> 2005-01-12 Eric Botcazou <ebotcazou@libertysurf.fr>
* testsuite/libffi.special/special.exp (cxx_options): Add * testsuite/libffi.special/special.exp (cxx_options): Add
......
...@@ -28,10 +28,6 @@ ...@@ -28,10 +28,6 @@
/* ---- System specific configurations ----------------------------------- */ /* ---- System specific configurations ----------------------------------- */
#if defined (POWERPC) && defined (__powerpc64__)
#define POWERPC64
#endif
#ifndef LIBFFI_ASM #ifndef LIBFFI_ASM
typedef unsigned long ffi_arg; typedef unsigned long ffi_arg;
typedef signed long ffi_sarg; typedef signed long ffi_sarg;
...@@ -44,29 +40,6 @@ typedef enum ffi_abi { ...@@ -44,29 +40,6 @@ typedef enum ffi_abi {
FFI_DEFAULT_ABI = FFI_EABI, FFI_DEFAULT_ABI = FFI_EABI,
#endif #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_LAST_ABI = FFI_DEFAULT_ABI + 1
} ffi_abi; } ffi_abi;
#endif #endif
...@@ -78,11 +51,10 @@ typedef enum ffi_abi { ...@@ -78,11 +51,10 @@ typedef enum ffi_abi {
#ifdef __FRV_FDPIC__ #ifdef __FRV_FDPIC__
/* Trampolines are 8 4-byte instructions long. */ /* Trampolines are 8 4-byte instructions long. */
#define FFI_TRAMPOLINE_SIZE (8*4) #define FFI_TRAMPOLINE_SIZE (8*4)
#else #else
/* Trampolines are 5 4-byte instructions long. */ /* Trampolines are 5 4-byte instructions long. */
#define FFI_TRAMPOLINE_SIZE (5*4) #define FFI_TRAMPOLINE_SIZE (5*4)
#endif #endif
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment