This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
CPP_PREDEFINES: arm-elf configuration fix
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Richard dot Earnshaw at arm dot com
- Date: Sat, 15 Dec 2001 16:49:28 +0000
- Subject: CPP_PREDEFINES: arm-elf configuration fix
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
David's recent cleanup of the CPP_PREDEFINES definitions for arm targets
missed the following (it may have been picking up the wrong default before
anyway).
2001-12-15 Richard Earnshaw <rearnsha@arm.com>
* arm/unknown-elf.h (CPP_PREDEFINES): Add a suitable default.
Index: config/arm/unknown-elf.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/arm/unknown-elf.h,v
retrieving revision 1.23
diff -p -r1.23 unknown-elf.h
*** unknown-elf.h 2001/11/05 16:36:35 1.23
--- unknown-elf.h 2001/12/15 16:46:00
*************** Boston, MA 02111-1307, USA. */
*** 85,90 ****
--- 85,94 ----
fprintf (FILE, "\t.space\t%d\n", SIZE); \
} \
while (0)
+
+ #ifndef CPP_PREDEFINES
+ #define CPP_PREDEFINES "-D__ELF__"
+ #endif
#ifndef CPP_APCS_PC_DEFAULT_SPEC
#define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__"