]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rtems.h (CPP_PREDEFINES): Remove redundant -Acpu and -Amachine.h.
authorJoel Sherrill <joel@OARcorp.com>
Wed, 25 Jul 2001 01:53:26 +0000 (01:53 +0000)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 25 Jul 2001 01:53:26 +0000 (18:53 -0700)
        * 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

gcc/ChangeLog
gcc/config/sparc/rtems.h
gcc/config/sparc/rtemself.h
gcc/config/sparc/sparc.h

index 9306c7e6dbbacb5138560706310922c70b60e207..7e6d81bf0474ec3b531bc0725bf53d287ca2e8ad 100644 (file)
@@ -1,4 +1,13 @@
-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
        extra multilib parts like arm-elf.
index 36fcf33f578215c1541b759ea665b485c2fd32aa..eeb773042bb6875c33136e1430a8ec53941aa9c9 100644 (file)
@@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA.  */
 
 #undef CPP_PREDEFINES
 #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.  */
 #ifndef TARGET_MEM_FUNCTIONS
index 62277abe79d650e6c7c131a0341f66a418abefda..cfc95f28b8c5cac4932bb8c5e635373e6d4c7dc4 100644 (file)
@@ -1,4 +1,4 @@
-/* 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.
    Contributed by Joel Sherrill (joel@OARcorp.com).
 
@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA.  */
 
 #undef CPP_PREDEFINES
 #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.  */
 #ifndef TARGET_MEM_FUNCTIONS
index b107236706b21d1f1c230ac338c02e25ddc9662d..6aa72d1d9587f0ba1e590c60c3e93768d759963d 100644 (file)
@@ -223,6 +223,7 @@ Unrecognized value in TARGET_CPU_DEFAULT.
 /* Common CPP definitions used by CPP_SPEC amongst the various targets
    for handling -mcpu=xxx switches.  */
 #define CPP_CPU_SPEC "\
+%{msoft-float:-D_SOFT_FLOAT} \
 %{mcypress:} \
 %{msparclite:-D__sparclite__} \
 %{mf930:-D__sparclite__} %{mf934:-D__sparclite__} \