aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoern Rennecke <amylaar@spamcop.net>2010-12-31 11:48:03 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2010-12-31 11:48:03 +0000
commiteecbc061d4cbb4ea2498cb7388f4f98171fe36de (patch)
tree94678f614053d12807e46165569e663e70910fec
parent12eb6ed32b60013bee334c65cb576b55cf0e1cf4 (diff)
downloadgcc-eecbc061d4cbb4ea2498cb7388f4f98171fe36de.zip
gcc-eecbc061d4cbb4ea2498cb7388f4f98171fe36de.tar.gz
gcc-eecbc061d4cbb4ea2498cb7388f4f98171fe36de.tar.bz2
re PR target/47112 (mipstx39-*-elf*: Redefined target macros)
PR target/47112 * config/mips/r3900.h: Update Copyright years. (MIPS_CPU_STRING_DEFAULT): Undef before defining. (MULTILIB_DEFAULTS, MIPS_ABI_DEFAULT, SUBTARGET_CC1_SPEC): Likewise. From-SVN: r168369
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/r3900.h6
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6820d8d..e346fc2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -12,6 +12,11 @@
PR target/47111
* config/rtems.h (NO_IMPLICIT_EXTERN_C): Undef before defining.
+ PR target/47112
+ * config/mips/r3900.h: Update Copyright years.
+ (MIPS_CPU_STRING_DEFAULT): Undef before defining.
+ (MULTILIB_DEFAULTS, MIPS_ABI_DEFAULT, SUBTARGET_CC1_SPEC): Likewise.
+
2010-12-30 Mingjie Xing <mingjie.xing@gmail.com>
* config/mips/mips.h (SHIFT_COUNT_TRUNCATED): Change
diff --git a/gcc/config/mips/r3900.h b/gcc/config/mips/r3900.h
index 66aaf94..557ca3e 100644
--- a/gcc/config/mips/r3900.h
+++ b/gcc/config/mips/r3900.h
@@ -2,7 +2,7 @@
Toshiba r3900. You should include mips.h after this.
Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2004,
- 2007 Free Software Foundation, Inc.
+ 2007, 2010 Free Software Foundation, Inc.
Contributed by Gavin Koch (gavin@cygnus.com).
This file is part of GCC.
@@ -21,15 +21,19 @@ You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
+#undef MIPS_CPU_STRING_DEFAULT
#define MIPS_CPU_STRING_DEFAULT "r3900"
#define MIPS_ISA_DEFAULT 1
+#undef MULTILIB_DEFAULTS
#define MULTILIB_DEFAULTS { MULTILIB_ENDIAN_DEFAULT, "msoft-float" }
/* We use the MIPS EABI by default. */
+#undef MIPS_ABI_DEFAULT
#define MIPS_ABI_DEFAULT ABI_EABI
/* By default (if not mips-something-else) produce code for the r3900 */
+#undef SUBTARGET_CC1_SPEC
#define SUBTARGET_CC1_SPEC "\
%{mhard-float:%e-mhard-float not supported} \
%{msingle-float:%{msoft-float: \