Changeset 3704a9a in rtems


Ignore:
Timestamp:
05/28/00 17:43:00 (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
96efaf67
Parents:
cfca5db
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/cpu/powerpc/shared/ppc.h

    rcfca5db r3704a9a  
    282282#define PPC_ABI_EABI            3
    283283
     284/*
     285 *  Default to the EABI used by current GNU tools
     286 */
     287
     288#ifndef PPC_ABI
     289#define PPC_ABI PPC_ABI_EABI
     290#endif
     291
    284292#if (PPC_ABI == PPC_ABI_POWEROPEN)
    285293#define PPC_STACK_ALIGNMENT     8
     
    309317#define PPC_ASM_ELF   0
    310318#define PPC_ASM_XCOFF 1
     319
     320/*
     321 *  Default to the assembler format used by the current GNU tools.
     322 */
     323
     324#ifndef PPC_ASM
     325#define PPC_ASM PPC_ASM_ELF
     326#endif
    311327
    312328/*
Note: See TracChangeset for help on using the changeset viewer.