Commit 7adb4be8 by Joel Sherrill Committed by Richard Henderson

rtems.h (CPP_PREDEFINES): Remove redundant -Acpu and -Amachine.h.

        * config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
        -Acpu and -Amachine.h.
        * config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
        Corrected header to say ELF not a.out.
        * config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
        when given -msoft-float.

From-SVN: r44328
parent bb8602be
2001-06-19 Joel Sherrill <joel@OARcorp.com> 2001-07-24 Joel Sherrill <joel@OARcorp.com>
* config/sparc/rtems.h (CPP_PREDEFINES): Remove redundant
-Acpu and -Amachine.h.
* config/sparc/rtemself.h (CPP_PREDEFINES): Likewise.
Corrected header to say ELF not a.out.
* config/sparc/sparc.h (CPP_CPU_SPEC): Define _SOFT_FLOAT
when given -msoft-float.
2001-07-24 Joel Sherrill <joel@OARcorp.com>
* config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as * config.gcc (arm*-*-rtems*): Include crtinit.o and crtfini.o as
extra multilib parts like arm-elf. extra multilib parts like arm-elf.
......
...@@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dsparc -D__GCC_NEW_VARARGS__ -Drtems -D__rtems__ \ #define CPP_PREDEFINES "-Dsparc -D__GCC_NEW_VARARGS__ -Drtems -D__rtems__ \
-Asystem=rtems -Acpu=sparc -Amachine=sparc" -Asystem=rtems"
/* Generate calls to memcpy, memcmp and memset. */ /* Generate calls to memcpy, memcmp and memset. */
#ifndef TARGET_MEM_FUNCTIONS #ifndef TARGET_MEM_FUNCTIONS
......
/* Definitions for rtems targeting a SPARC using a.out. /* Definitions for rtems targeting a SPARC using ELF.
Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc. Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
Contributed by Joel Sherrill (joel@OARcorp.com). Contributed by Joel Sherrill (joel@OARcorp.com).
...@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dsparc -D__GCC_NEW_VARARGS__ -Drtems -D__rtems__ \ #define CPP_PREDEFINES "-Dsparc -D__GCC_NEW_VARARGS__ -Drtems -D__rtems__ \
-Asystem=rtems -Acpu=sparc -Amachine=sparc" -Asystem=rtems"
/* Generate calls to memcpy, memcmp and memset. */ /* Generate calls to memcpy, memcmp and memset. */
#ifndef TARGET_MEM_FUNCTIONS #ifndef TARGET_MEM_FUNCTIONS
......
...@@ -223,6 +223,7 @@ Unrecognized value in TARGET_CPU_DEFAULT. ...@@ -223,6 +223,7 @@ Unrecognized value in TARGET_CPU_DEFAULT.
/* Common CPP definitions used by CPP_SPEC amongst the various targets /* Common CPP definitions used by CPP_SPEC amongst the various targets
for handling -mcpu=xxx switches. */ for handling -mcpu=xxx switches. */
#define CPP_CPU_SPEC "\ #define CPP_CPU_SPEC "\
%{msoft-float:-D_SOFT_FLOAT} \
%{mcypress:} \ %{mcypress:} \
%{msparclite:-D__sparclite__} \ %{msparclite:-D__sparclite__} \
%{mf930:-D__sparclite__} %{mf934:-D__sparclite__} \ %{mf930:-D__sparclite__} %{mf934:-D__sparclite__} \
......
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