Added defaults for PPC_ABI and PPC_ASM so every PowerPC does not

have to define them to their default value.  The default values
reflect the ABI and Assembly format of the current GNU tools.
This commit is contained in:
Joel Sherrill
2000-05-28 17:43:00 +00:00
parent cfca5dba95
commit 3704a9a149

View File

@@ -281,6 +281,14 @@ extern "C" {
*/
#define PPC_ABI_EABI 3
/*
* Default to the EABI used by current GNU tools
*/
#ifndef PPC_ABI
#define PPC_ABI PPC_ABI_EABI
#endif
#if (PPC_ABI == PPC_ABI_POWEROPEN)
#define PPC_STACK_ALIGNMENT 8
#elif (PPC_ABI == PPC_ABI_GCC27)
@@ -309,6 +317,14 @@ extern "C" {
#define PPC_ASM_ELF 0
#define PPC_ASM_XCOFF 1
/*
* Default to the assembler format used by the current GNU tools.
*/
#ifndef PPC_ASM
#define PPC_ASM PPC_ASM_ELF
#endif
/*
* Use the default debug scheme defined in the architectural specification
* if another model has not been specified.