aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel@OARcorp.com>2001-07-25 01:53:26 +0000
committerRichard Henderson <rth@gcc.gnu.org>2001-07-24 18:53:26 -0700
commit7adb4be8944becf980f8baff1155c0d0ed108486 (patch)
tree1a6d386fde652acc17402a6773c05b9df8f6bbcb
parentbb8602be349ff4dabf8051638d750e55af4e5617 (diff)
downloadgcc-7adb4be8944becf980f8baff1155c0d0ed108486.zip
gcc-7adb4be8944becf980f8baff1155c0d0ed108486.tar.gz
gcc-7adb4be8944becf980f8baff1155c0d0ed108486.tar.bz2
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
-rw-r--r--gcc/ChangeLog11
-rw-r--r--gcc/config/sparc/rtems.h2
-rw-r--r--gcc/config/sparc/rtemself.h4
-rw-r--r--gcc/config/sparc/sparc.h1
4 files changed, 14 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9306c7e..7e6d81b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/sparc/rtems.h b/gcc/config/sparc/rtems.h
index 36fcf33..eeb7730 100644
--- a/gcc/config/sparc/rtems.h
+++ b/gcc/config/sparc/rtems.h
@@ -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
diff --git a/gcc/config/sparc/rtemself.h b/gcc/config/sparc/rtemself.h
index 62277ab..cfc95f2 100644
--- a/gcc/config/sparc/rtemself.h
+++ b/gcc/config/sparc/rtemself.h
@@ -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
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index b107236..6aa72d1 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -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__} \