aboutsummaryrefslogtreecommitdiff
path: root/sim/mips
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-24 21:36:09 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-24 21:50:17 -0500
commit269362117d399d9d86b7e565e7cb827500fac31c (patch)
treefaca7a3eacceb694bdf29fcf1acaf08de23cccad /sim/mips
parent9db2b719087eb42cfb31018fe87657243f6185c9 (diff)
downloadgdb-269362117d399d9d86b7e565e7cb827500fac31c.zip
gdb-269362117d399d9d86b7e565e7cb827500fac31c.tar.gz
gdb-269362117d399d9d86b7e565e7cb827500fac31c.tar.bz2
sim: make LMA loading the default for all targets
Most targets already default to loading code via their LMA, but for a few, this means the default changes from loading VMA to LMA. It's better to have the different targets be consistent, and allows some code clean up.
Diffstat (limited to 'sim/mips')
-rw-r--r--sim/mips/ChangeLog4
-rw-r--r--sim/mips/tconfig.h7
2 files changed, 4 insertions, 7 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index 93c1814..9974526 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,5 +1,9 @@
2015-12-24 Mike Frysinger <vapier@gentoo.org>
+ * tconfig.h (SIM_HANDLES_LMA): Delete.
+
+2015-12-24 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (WITH_WATCHPOINTS): Delete.
2015-12-24 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/mips/tconfig.h b/sim/mips/tconfig.h
index 136015a..a8c9185 100644
--- a/sim/mips/tconfig.h
+++ b/sim/mips/tconfig.h
@@ -1,11 +1,4 @@
/* mips target configuration file. */
-/* See sim-hload.c. We properly handle LMA. */
-#ifdef TARGET_TX3904
-#define SIM_HANDLES_LMA 1
-#else
-#define SIM_HANDLES_LMA 0
-#endif
-
/* MIPS uses an unusual format for floating point quiet NaNs. */
#define SIM_QUIET_NAN_NEGATED