aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-22 22:55:42 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-24 00:39:00 -0400
commitc0931f26e3923c75a3edc114175bb88dc11c5497 (patch)
treee352709710de2ed554bab1d607f580de275d94cf /sim
parentfe83b8a8d369e28dcfab42ee9f4b6d9cef3370c0 (diff)
downloadgdb-c0931f26e3923c75a3edc114175bb88dc11c5497.zip
gdb-c0931f26e3923c75a3edc114175bb88dc11c5497.tar.gz
gdb-c0931f26e3923c75a3edc114175bb88dc11c5497.tar.bz2
sim: clean up SIM_HAVE_BIENDIAN
This define only applies when using the old run.o main. Document it as such, and delete it from mips/sh64 since both use nrun.o now.
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/tconfig.h3
-rw-r--r--sim/mips/ChangeLog5
-rw-r--r--sim/mips/sim-main.h3
-rw-r--r--sim/mips/tconfig.h4
-rw-r--r--sim/sh64/ChangeLog4
-rw-r--r--sim/sh64/tconfig.h3
7 files changed, 15 insertions, 11 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 655d98a..c474abe 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,9 @@
2015-03-24 Mike Frysinger <vapier@gentoo.org>
+ * tconfig.h: Note SIM_HAVE_BIENDIAN is deprecated.
+
+2015-03-24 Mike Frysinger <vapier@gentoo.org>
+
* acinclude.m4 (SIM_AC_OPTION_HARDWARE): Move default option setting
of enable_sim_hardware to AC_ARG_ENABLE.
diff --git a/sim/common/tconfig.h b/sim/common/tconfig.h
index fd8b5be..4df076e 100644
--- a/sim/common/tconfig.h
+++ b/sim/common/tconfig.h
@@ -15,5 +15,6 @@
/* #define SIM_HAVE_SIMCACHE */
/* Define this if the target cpu is bi-endian
- and the simulator supports it. */
+ and the simulator supports it.
+ TODO: This is specific to the old run.o main. */
/* #define SIM_HAVE_BIENDIAN */
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index d5f8ec0..996144d 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,5 +1,10 @@
2015-03-24 Mike Frysinger <vapier@gentoo.org>
+ * sim-main.h (SIM_HAVE_BIENDIAN): Delete.
+ * tconfig.h (SIM_HAVE_BIENDIAN): Delete.
+
+2015-03-24 Mike Frysinger <vapier@gentoo.org>
+
* configure: Regenerate.
2015-03-23 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h
index 53acf68..3c0e9bb 100644
--- a/sim/mips/sim-main.h
+++ b/sim/mips/sim-main.h
@@ -24,9 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* #define SIM_ENGINE_HALT_HOOK(SD, LAST_CPU, CIA) */
/* #define SIM_ENGINE_RESUME_HOOK(SD, LAST_CPU, CIA) */
-#define SIM_HAVE_BIENDIAN
-
-
/* hobble some common features for moment */
#define WITH_WATCHPOINTS 1
#define WITH_MODULO_MEMORY 1
diff --git a/sim/mips/tconfig.h b/sim/mips/tconfig.h
index 95e66b4..fd97c3c 100644
--- a/sim/mips/tconfig.h
+++ b/sim/mips/tconfig.h
@@ -19,9 +19,5 @@
The target is required to provide sim_set_simcache_size. */
/* #define SIM_HAVE_SIMCACHE */
-/* Define this if the target cpu is bi-endian
- and the simulator supports it. */
-#define SIM_HAVE_BIENDIAN
-
/* MIPS uses an unusual format for floating point quiet NaNs. */
#define SIM_QUIET_NAN_NEGATED
diff --git a/sim/sh64/ChangeLog b/sim/sh64/ChangeLog
index 8692f0f..beda6be 100644
--- a/sim/sh64/ChangeLog
+++ b/sim/sh64/ChangeLog
@@ -1,5 +1,9 @@
2015-03-24 Mike Frysinger <vapier@gentoo.org>
+ * tconfig.h (SIM_HAVE_BIENDIAN): Delete.
+
+2015-03-24 Mike Frysinger <vapier@gentoo.org>
+
* configure: Regenerate.
2015-03-24 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/sh64/tconfig.h b/sim/sh64/tconfig.h
index 9d64be9..dbcf232 100644
--- a/sim/sh64/tconfig.h
+++ b/sim/sh64/tconfig.h
@@ -34,6 +34,3 @@
and -pbb. However some cpu families may use -simple while others use
one of -scache/-pbb. ???? */
#define WITH_SCACHE_PBB 1
-
-/* Define this if the target cpu is bi-endian and the simulator supports it. */
-#define SIM_HAVE_BIENDIAN