public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] sim: cr16/d10v/mcore/moxie: clean up unused word & uword types
@ 2022-12-23 2:56 Michael Frysinger
0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2022-12-23 2:56 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=547eedc132de227210d1ba7fc68703170c274f61
commit 547eedc132de227210d1ba7fc68703170c274f61
Author: Mike Frysinger <vapier@gentoo.org>
Date: Thu Dec 22 21:36:24 2022 -0500
sim: cr16/d10v/mcore/moxie: clean up unused word & uword types
Nothing actually uses these, so punt them. Some of the ports are
using local "word" types, but we'll clean those up in a follow up.
Diff:
---
sim/cr16/sim-main.h | 4 ----
sim/d10v/sim-main.h | 4 ----
sim/mcore/sim-main.h | 1 -
sim/moxie/interp.c | 1 -
4 files changed, 10 deletions(-)
diff --git a/sim/cr16/sim-main.h b/sim/cr16/sim-main.h
index 667db199ea1..188c32caa09 100644
--- a/sim/cr16/sim-main.h
+++ b/sim/cr16/sim-main.h
@@ -20,10 +20,6 @@
#define SIM_MAIN_H
#include "sim-basics.h"
-
-typedef long int word;
-typedef unsigned long int uword;
-
#include "sim-base.h"
#include "bfd.h"
diff --git a/sim/d10v/sim-main.h b/sim/d10v/sim-main.h
index 3d7b7323183..a6462d8c6a4 100644
--- a/sim/d10v/sim-main.h
+++ b/sim/d10v/sim-main.h
@@ -20,10 +20,6 @@
#define SIM_MAIN_H
#include "sim-basics.h"
-
-typedef long int word;
-typedef unsigned long int uword;
-
#include "sim-base.h"
#include "bfd.h"
diff --git a/sim/mcore/sim-main.h b/sim/mcore/sim-main.h
index fc4625ba8ec..23e7ae64b05 100644
--- a/sim/mcore/sim-main.h
+++ b/sim/mcore/sim-main.h
@@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim-basics.h"
typedef long int word;
-typedef unsigned long int uword;
#include "sim-base.h"
#include "bfd.h"
diff --git a/sim/moxie/interp.c b/sim/moxie/interp.c
index ea0a559a057..42918659e48 100644
--- a/sim/moxie/interp.c
+++ b/sim/moxie/interp.c
@@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "target-newlib-syscall.h"
typedef int word;
-typedef unsigned int uword;
/* Extract the signed 10-bit offset from a 16-bit branch
instruction. */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-23 2:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-23 2:56 [binutils-gdb] sim: cr16/d10v/mcore/moxie: clean up unused word & uword types Michael Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).