summaryrefslogtreecommitdiffstats
path: root/libffi/src
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-08 21:10:50 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-08 21:10:50 +0000
commit9e71f2c8440bfd3d6ffc9d44b730abe1fb8b6434 (patch)
tree77e3f59a89f2c781121899610b659bfe0477fe78 /libffi/src
parent75ac60c25475dccec7b3237de471e2d472ab5e21 (diff)
downloadppe42-gcc-9e71f2c8440bfd3d6ffc9d44b730abe1fb8b6434.tar.gz
ppe42-gcc-9e71f2c8440bfd3d6ffc9d44b730abe1fb8b6434.zip
2005-02-08 Andreas Tobler <a.tobler@schweiz.ch>
* src/frv/ffitarget.h: Remove PPC stuff which does not belong to frv. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94747 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/src')
-rw-r--r--libffi/src/frv/ffitarget.h32
1 files changed, 2 insertions, 30 deletions
diff --git a/libffi/src/frv/ffitarget.h b/libffi/src/frv/ffitarget.h
index 48ca13963c6..d235697d641 100644
--- a/libffi/src/frv/ffitarget.h
+++ b/libffi/src/frv/ffitarget.h
@@ -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 @@ typedef enum ffi_abi {
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 @@ typedef enum ffi_abi {
#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
-
OpenPOWER on IntegriCloud