From patchwork Tue Mar 24 04:40:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 5779 Received: (qmail 33976 invoked by alias); 24 Mar 2015 04:40:42 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 33894 invoked by uid 89); 24 Mar 2015 04:40:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 24 Mar 2015 04:40:40 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id ECE5434098D for ; Tue, 24 Mar 2015 04:40:37 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH] sim: clean up SIM_HAVE_BIENDIAN Date: Tue, 24 Mar 2015 00:40:37 -0400 Message-Id: <1427172037-24503-1-git-send-email-vapier@gentoo.org> X-IsSubscribed: yes 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. Committed. --- sim/common/ChangeLog | 4 ++++ sim/common/tconfig.h | 3 ++- sim/mips/ChangeLog | 5 +++++ sim/mips/sim-main.h | 3 --- sim/mips/tconfig.h | 4 ---- sim/sh64/ChangeLog | 4 ++++ sim/sh64/tconfig.h | 3 --- 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 + * tconfig.h: Note SIM_HAVE_BIENDIAN is deprecated. + +2015-03-24 Mike Frysinger + * 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 + * sim-main.h (SIM_HAVE_BIENDIAN): Delete. + * tconfig.h (SIM_HAVE_BIENDIAN): Delete. + +2015-03-24 Mike Frysinger + * configure: Regenerate. 2015-03-23 Mike Frysinger 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 . */ /* #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 + * tconfig.h (SIM_HAVE_BIENDIAN): Delete. + +2015-03-24 Mike Frysinger + * configure: Regenerate. 2015-03-24 Mike Frysinger 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