Commit 7b07d808 by Richard Earnshaw Committed by Richard Earnshaw

* arm/unknown-elf.h (CPP_PREDEFINES): Add a suitable default.

From-SVN: r48044
parent 22c56562
2001-12-15 Richard Earnshaw <rearnsha@arm.com>
* arm/unknown-elf.h (CPP_PREDEFINES): Add a suitable default.
2001-12-15 Ulrich Weigand <uweigand@de.ibm.com> 2001-12-15 Ulrich Weigand <uweigand@de.ibm.com>
* regrename.c (copyprop_hardreg_forward): Do not keep register * regrename.c (copyprop_hardreg_forward): Do not keep register
......
...@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */
/* Run-time Target Specification. */ /* Run-time Target Specification. */
#ifndef TARGET_VERSION #ifndef TARGET_VERSION
#define TARGET_VERSION fputs (" (ARM/ELF non-Linux)", stderr); #define TARGET_VERSION fputs (" (ARM/ELF)", stderr);
#endif #endif
/* Default to using APCS-32 and software floating point. */ /* Default to using APCS-32 and software floating point. */
...@@ -86,6 +86,10 @@ Boston, MA 02111-1307, USA. */ ...@@ -86,6 +86,10 @@ Boston, MA 02111-1307, USA. */
} \ } \
while (0) while (0)
#ifndef CPP_PREDEFINES
#define CPP_PREDEFINES "-D__ELF__"
#endif
#ifndef CPP_APCS_PC_DEFAULT_SPEC #ifndef CPP_APCS_PC_DEFAULT_SPEC
#define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__" #define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__"
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment