aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/sim-main.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-24 22:27:04 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-24 22:30:46 -0500
commitcb379ede3cf6cf367b2bb58b85d8ee849a82a9b0 (patch)
treec57a8d041572e84eb5e0b91f7193f9932dda12b7 /sim/mips/sim-main.h
parent269362117d399d9d86b7e565e7cb827500fac31c (diff)
downloadgdb-cb379ede3cf6cf367b2bb58b85d8ee849a82a9b0.zip
gdb-cb379ede3cf6cf367b2bb58b85d8ee849a82a9b0.tar.gz
gdb-cb379ede3cf6cf367b2bb58b85d8ee849a82a9b0.tar.bz2
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.
Diffstat (limited to 'sim/mips/sim-main.h')
-rw-r--r--sim/mips/sim-main.h3
1 files changed, 3 insertions, 0 deletions
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))