Commit 0122a613 by Nick Clifton Committed by Nick Clifton

Prevent warning about redefinition of SUBTARGET_CPU_DEFAULT

From-SVN: r26314
parent b17e2870
Fri Apr 9 13:04:52 1999 Nick Clifton <nickc@cygnus.com>
* config/arm/unknown-elf.h (SUBTARGET_CPU_DEFAULT): Only define if
not already specified.
Fri Apr 9 11:18:55 1999 Jason Merrill <jason@yorick.cygnus.com> Fri Apr 9 11:18:55 1999 Jason Merrill <jason@yorick.cygnus.com>
* c-common.c (decl_attributes, A_INIT_PRIORITY): Allow arrays * c-common.c (decl_attributes, A_INIT_PRIORITY): Allow arrays
......
...@@ -33,7 +33,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -33,7 +33,9 @@ Boston, MA 02111-1307, USA. */
#define HAVE_ATEXIT #define HAVE_ATEXIT
/* Default to using APCS-32 and software floating point. */ /* Default to using APCS-32 and software floating point. */
#ifndef TARGET_DEFAULT
#define TARGET_DEFAULT (ARM_FLAG_SOFT_FLOAT | ARM_FLAG_APCS_32) #define TARGET_DEFAULT (ARM_FLAG_SOFT_FLOAT | ARM_FLAG_APCS_32)
#endif
/* Now we define the strings used to build the spec file. */ /* Now we define the strings used to build the spec file. */
#define STARTFILE_SPEC "crtbegin%O%s crt0%O%s" #define STARTFILE_SPEC "crtbegin%O%s crt0%O%s"
...@@ -157,8 +159,13 @@ do { \ ...@@ -157,8 +159,13 @@ do { \
DECL_SECTION_NAME (DECL) = build_string (len, string); \ DECL_SECTION_NAME (DECL) = build_string (len, string); \
} while (0) } while (0)
#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
#ifndef SUBTARGET_CPU_DEFAULT
#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm7tdmi #define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm7tdmi
#endif
/* Now get the routine arm-elf definitions. */ /* Now get the routine arm-elf definitions. */
#include "arm/elf.h" #include "arm/elf.h"
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