summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/powerpc
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-02-09 15:12:34 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-02-09 15:12:34 +0000
commitb629797a4ceac792fcf216e2b679f5464761fd59 (patch)
treec7c04be8d8efe1ef4095dfd0766729cb8d245170 /cpukit/score/cpu/powerpc
parent2005-02-09 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-b629797a4ceac792fcf216e2b679f5464761fd59.tar.bz2
2005-02-09 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/asm.h, rtems/score/powerpc.h: Remove XCOFF support.
Diffstat (limited to 'cpukit/score/cpu/powerpc')
-rw-r--r--cpukit/score/cpu/powerpc/ChangeLog4
-rw-r--r--cpukit/score/cpu/powerpc/rtems/asm.h27
-rw-r--r--cpukit/score/cpu/powerpc/rtems/score/powerpc.h5
3 files changed, 5 insertions, 31 deletions
diff --git a/cpukit/score/cpu/powerpc/ChangeLog b/cpukit/score/cpu/powerpc/ChangeLog
index fb63c994d3..e4844199a8 100644
--- a/cpukit/score/cpu/powerpc/ChangeLog
+++ b/cpukit/score/cpu/powerpc/ChangeLog
@@ -1,3 +1,7 @@
+2005-02-09 Ralf Corsepius <ralf.corsepius@rtems.org>
+
+ * rtems/asm.h, rtems/score/powerpc.h: Remove XCOFF support.
+
2005-02-08 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Split out preinstallation rules.
diff --git a/cpukit/score/cpu/powerpc/rtems/asm.h b/cpukit/score/cpu/powerpc/rtems/asm.h
index f3a8fec065..2785de2371 100644
--- a/cpukit/score/cpu/powerpc/rtems/asm.h
+++ b/cpukit/score/cpu/powerpc/rtems/asm.h
@@ -259,33 +259,6 @@ SYM (x):; \
#define END_BSS
#define END
-#elif PPC_ASM == PPC_ASM_XCOFF
-#define ALIGN(n,p) .align p
-#define DESCRIPTOR(x) \
- .csect x[DS]; \
- .globl x[DS]; \
- .long PROC (x)[PR]; \
- .long TOC[tc0]
-
-#define EXT_SYM_REF(x) .long x[RW]
-#define EXT_PROC_REF(x) .long x[DS]
-
-/*
- * Define macros to handle section beginning and ends.
- */
-
-#define BEGIN_CODE_DCL .csect .text[PR]
-#define END_CODE_DCL
-#define BEGIN_DATA_DCL .csect .data[RW]
-#define END_DATA_DCL
-#define BEGIN_CODE .csect .text[PR]
-#define END_CODE
-#define BEGIN_DATA .csect .data[RW]
-#define END_DATA
-#define BEGIN_BSS .bss
-#define END_BSS
-#define END
-
#else
#error "PPC_ASM_TYPE is not properly defined"
#endif
diff --git a/cpukit/score/cpu/powerpc/rtems/score/powerpc.h b/cpukit/score/cpu/powerpc/rtems/score/powerpc.h
index a7980feff0..13652913e7 100644
--- a/cpukit/score/cpu/powerpc/rtems/score/powerpc.h
+++ b/cpukit/score/cpu/powerpc/rtems/score/powerpc.h
@@ -311,8 +311,7 @@ extern "C" {
/*
* PowerOpen ABI. This is Andy's hack of the
* PowerOpen ABI to ELF. ELF rather than a
- * XCOFF assembler is used. This may work
- * if PPC_ASM == PPC_ASM_XCOFF is defined.
+ * XCOFF assembler is used.
*/
#define PPC_ABI_POWEROPEN 0
/*
@@ -358,13 +357,11 @@ extern "C" {
* PPC_ASM MUST be defined as one of these.
*
* PPC_ASM_ELF: ELF assembler. Currently used for all ABIs.
- * PPC_ASM_XCOFF: XCOFF assembler. May be needed for PowerOpen ABI.
*
* NOTE: Only PPC_ABI_ELF is currently fully supported.
*/
#define PPC_ASM_ELF 0
-#define PPC_ASM_XCOFF 1
/*
* Default to the assembler format used by the current GNU tools.