summaryrefslogtreecommitdiffstats
path: root/c/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib')
-rw-r--r--c/src/lib/libcpu/powerpc/rtems/powerpc/powerpc.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/c/src/lib/libcpu/powerpc/rtems/powerpc/powerpc.h b/c/src/lib/libcpu/powerpc/rtems/powerpc/powerpc.h
index 1f14030f4a..8e7c8f45ab 100644
--- a/c/src/lib/libcpu/powerpc/rtems/powerpc/powerpc.h
+++ b/c/src/lib/libcpu/powerpc/rtems/powerpc/powerpc.h
@@ -295,18 +295,9 @@ extern "C" {
* Application binary interfaces.
*
* PPC_ABI MUST be defined as one of these.
- * Only PPC_ABI_POWEROPEN is currently fully supported.
- * Only EABI will be supported in the end when
- * the tools are there.
* Only big endian is currently supported.
*/
/*
- * PowerOpen ABI. This is Andy's hack of the
- * PowerOpen ABI to ELF. ELF rather than a
- * XCOFF assembler is used.
- */
-#define PPC_ABI_POWEROPEN 0
-/*
* SVR4 ABI
*/
#define PPC_ABI_SVR4 2
@@ -323,18 +314,13 @@ extern "C" {
#define PPC_ABI PPC_ABI_EABI
#endif
-#if (PPC_ABI == PPC_ABI_POWEROPEN)
-#define PPC_STACK_ALIGNMENT 8
-#elif (PPC_ABI == PPC_ABI_SVR4)
+#if (PPC_ABI == PPC_ABI_SVR4)
#define PPC_STACK_ALIGNMENT 16
#elif (PPC_ABI == PPC_ABI_EABI)
#define PPC_STACK_ALIGNMENT 8
#else
#error "PPC_ABI is not properly defined"
#endif
-#ifndef PPC_ABI
-#error "PPC_ABI is not properly defined"
-#endif
/*
* Assemblers.