2005-02-09 Ralf Corsepius <ralf.corsepius@rtems.org>

* rtems/asm.h, rtems/score/powerpc.h: Remove XCOFF support.
This commit is contained in:
Ralf Corsepius
2005-02-09 15:12:34 +00:00
parent 3a227b9b22
commit b629797a4c
4 changed files with 6 additions and 35 deletions

View File

@@ -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.

View File

@@ -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.

View File

@@ -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

View File

@@ -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.