This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] sim: mips: move SIM_QUIET_NAN_NEGATED to sim-main.h
- From: Michael Frysinger <vapier at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 25 Dec 2015 03:32:21 -0000
- Subject: [binutils-gdb] sim: mips: move SIM_QUIET_NAN_NEGATED to sim-main.h
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cb379ede3cf6cf367b2bb58b85d8ee849a82a9b0
commit cb379ede3cf6cf367b2bb58b85d8ee849a82a9b0
Author: Mike Frysinger <vapier@gentoo.org>
Date: Thu Dec 24 22:27:04 2015 -0500
sim: mips: move SIM_QUIET_NAN_NEGATED to sim-main.h
We want to kill off tconfig.h, so move the one define mips still uses
to sim-main.h.
Diff:
---
sim/mips/ChangeLog | 5 +++++
sim/mips/sim-main.h | 3 +++
sim/mips/tconfig.h | 4 ----
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index 9974526..d4d23eb 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,5 +1,10 @@
2015-12-24 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (SIM_QUIET_NAN_NEGATED): Move from tconfig.h.
+ * tconfig.h: Delete.
+
+2015-12-24 Mike Frysinger <vapier@gentoo.org>
+
* tconfig.h (SIM_HANDLES_LMA): Delete.
2015-12-24 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h
index b1045a0..88909e5 100644
--- a/sim/mips/sim-main.h
+++ b/sim/mips/sim-main.h
@@ -20,6 +20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#ifndef SIM_MAIN_H
#define SIM_MAIN_H
+/* MIPS uses an unusual format for floating point quiet NaNs. */
+#define SIM_QUIET_NAN_NEGATED
+
#define SIM_CORE_SIGNAL(SD,CPU,CIA,MAP,NR_BYTES,ADDR,TRANSFER,ERROR) \
mips_core_signal ((SD), (CPU), (CIA), (MAP), (NR_BYTES), (ADDR), (TRANSFER), (ERROR))
diff --git a/sim/mips/tconfig.h b/sim/mips/tconfig.h
deleted file mode 100644
index a8c9185..0000000
--- a/sim/mips/tconfig.h
+++ /dev/null
@@ -1,4 +0,0 @@
-/* mips target configuration file. */
-
-/* MIPS uses an unusual format for floating point quiet NaNs. */
-#define SIM_QUIET_NAN_NEGATED