From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id 2175D385B510; Fri, 23 Dec 2022 02:56:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2175D385B510 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1671764172; bh=JRoatv1Zf7/dh2p7JD9TlR3WOlmIlEwa0mfZhpyU/U4=; h=From:To:Subject:Date:From; b=EENPfmQ+tutLjN1J8FJzIyYZ8Dje67b34vBm+mrNu19jJX5+ES0yFU08i3kSdTHh5 8oBYe7IKUwpZC9fW398R/30y2nRIYLRxPSm0154t5q/neMYckVx63lgQIIg0t5rEc3 xMKpq7o9NdrzJihTdkKh8B01t06ERUw7hT8e2OAM= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: gdb-cvs@sourceware.org Subject: [binutils-gdb] sim: cr16/d10v/mcore/moxie: clean up unused word & uword types X-Act-Checkin: binutils-gdb X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/master X-Git-Oldrev: 3841a73a271d4849deb4e406f0632dd7567c23f8 X-Git-Newrev: 547eedc132de227210d1ba7fc68703170c274f61 Message-Id: <20221223025612.2175D385B510@sourceware.org> Date: Fri, 23 Dec 2022 02:56:12 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D547eedc132de= 227210d1ba7fc68703170c274f61 commit 547eedc132de227210d1ba7fc68703170c274f61 Author: Mike Frysinger Date: Thu Dec 22 21:36:24 2022 -0500 sim: cr16/d10v/mcore/moxie: clean up unused word & uword types =20 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 =20 #include "sim-basics.h" - -typedef long int word; -typedef unsigned long int uword; - #include "sim-base.h" #include "bfd.h" =20 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 =20 #include "sim-basics.h" - -typedef long int word; -typedef unsigned long int uword; - #include "sim-base.h" #include "bfd.h" =20 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 . */ #include "sim-basics.h" =20 typedef long int word; -typedef unsigned long int uword; =20 #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 . */ #include "target-newlib-syscall.h" =20 typedef int word; -typedef unsigned int uword; =20 /* Extract the signed 10-bit offset from a 16-bit branch instruction. */