aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-11-08 21:41:53 -0500
committerMike Frysinger <vapier@gentoo.org>2015-11-10 00:07:22 -0500
commit5697b730e2da25240068ad935b9074bac2d15b60 (patch)
treee6a462ab875b833f9663d70a2a4ad0dd99f70e76 /sim
parent87d094f308ab080932cb6f90399937fcf6f8c9b6 (diff)
downloadgdb-5697b730e2da25240068ad935b9074bac2d15b60.zip
gdb-5697b730e2da25240068ad935b9074bac2d15b60.tar.gz
gdb-5697b730e2da25240068ad935b9074bac2d15b60.tar.bz2
sim: h8300: drop unused littleendian variable
Diffstat (limited to 'sim')
-rw-r--r--sim/h8300/ChangeLog5
-rw-r--r--sim/h8300/compile.c13
2 files changed, 5 insertions, 13 deletions
diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog
index 78b3b82..ce77765 100644
--- a/sim/h8300/ChangeLog
+++ b/sim/h8300/ChangeLog
@@ -1,3 +1,8 @@
+2015-11-09 Mike Frysinger <vapier@gentoo.org>
+
+ * compile.c (littleendian): Delete.
+ (init_pointers): Delete littleendian usage.
+
2015-06-23 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c
index d084b5d..f3f794d 100644
--- a/sim/h8300/compile.c
+++ b/sim/h8300/compile.c
@@ -1750,17 +1750,6 @@ store2 (SIM_DESC sd, ea_type *arg, int n)
return store_1 (sd, arg, n, 1);
}
-static union
-{
- short int i;
- struct
- {
- char low;
- char high;
- }
- u;
-} littleendian;
-
/* Flag to be set whenever a new SIM_DESC object is created. */
static int init_pointers_needed = 1;
@@ -1771,8 +1760,6 @@ init_pointers (SIM_DESC sd)
{
int i;
- littleendian.i = 1;
-
if (h8300smode && !h8300_normal_mode)
memory_size = H8300S_MSIZE;
else if (h8300hmode && !h8300_normal_mode)