[PATCH/committed] sim: clean up explicit environment build calls

Mike Frysinger vapier@gentoo.org
Wed May 12 04:48:20 GMT 2021


This was enabled by default for all targets, but a few ports still
include an explicit call.  Clean that up, and update the docs.
---
 sim/ChangeLog          |  4 ++++
 sim/README-HACKING     |  4 ++--
 sim/or1k/ChangeLog     |  5 +++++
 sim/or1k/configure     | 22 ----------------------
 sim/or1k/configure.ac  |  1 -
 sim/riscv/ChangeLog    |  5 +++++
 sim/riscv/configure    | 22 ----------------------
 sim/riscv/configure.ac |  1 -
 8 files changed, 16 insertions(+), 48 deletions(-)

diff --git a/sim/ChangeLog b/sim/ChangeLog
index 96588c7a7805..236b156c6961 100644
--- a/sim/ChangeLog
+++ b/sim/ChangeLog
@@ -1,3 +1,7 @@
+2021-05-12  Mike Frysinger  <vapier@gentoo.org>
+
+	* README-HACKING: Delete mention of SIM_AC_OPTION_ENVIRONMENT.
+
 2021-05-12  Luis Machado  <luis.machado@linaro.org>
 
 	* d10v/interp.c (sim_create_inferior): Fix memset call.
diff --git a/sim/README-HACKING b/sim/README-HACKING
index bd0054fd22e5..69d08ff1ecfc 100644
--- a/sim/README-HACKING
+++ b/sim/README-HACKING
@@ -278,8 +278,8 @@ Environment Simulation
 
 The simplest simulator doesn't include environment support -- it merely
 simulates the Instruction Set Architecture (ISA).  Once you're ready to move
-on to the next level, call the common macro in your configure.ac:
-SIM_AC_OPTION_ENVIRONMENT
+on to the next level, it's time to start handling the --env option.  It's
+enabled by default for all ports already.
 
 This will support for the user, virtual, and operating environments.  See the
 sim-config.h header for a more detailed description of them.  The former are
diff --git a/sim/or1k/ChangeLog b/sim/or1k/ChangeLog
index 55b923ddfdf5..ece6160c43f7 100644
--- a/sim/or1k/ChangeLog
+++ b/sim/or1k/ChangeLog
@@ -1,3 +1,8 @@
+2021-05-12  Mike Frysinger  <vapier@gentoo.org>
+
+	* configure.ac: Delete SIM_AC_OPTION_ENVIRONMENT call.
+	* configure: Regenerate.
+
 2021-05-04  Tom Tromey  <tromey@adacore.com>
 
 	* mloop.in: Include <stdlib.h>.
diff --git a/sim/or1k/configure.ac b/sim/or1k/configure.ac
index ed0739f74a56..32fb0d49b95d 100644
--- a/sim/or1k/configure.ac
+++ b/sim/or1k/configure.ac
@@ -10,7 +10,6 @@ SIM_AC_OPTION_BITSIZE([32], [31], [32])
 SIM_AC_OPTION_SCACHE(16384)
 SIM_AC_OPTION_DEFAULT_MODEL([or1200])
 SIM_AC_OPTION_WARNINGS(no)
-SIM_AC_OPTION_ENVIRONMENT
 SIM_AC_OPTION_CGEN_MAINT
 
 SIM_AC_OUTPUT
diff --git a/sim/riscv/ChangeLog b/sim/riscv/ChangeLog
index c121d486b0cb..557b722da253 100644
--- a/sim/riscv/ChangeLog
+++ b/sim/riscv/ChangeLog
@@ -1,3 +1,8 @@
+2021-05-12  Mike Frysinger  <vapier@gentoo.org>
+
+	* configure.ac: Delete SIM_AC_OPTION_ENVIRONMENT call.
+	* configure: Regenerate.
+
 2021-05-04  Mike Frysinger  <vapier@gentoo.org>
 
 	* configure: Regenerate.
diff --git a/sim/riscv/configure.ac b/sim/riscv/configure.ac
index 84b236adf4f7..e5a07bbc46b0 100644
--- a/sim/riscv/configure.ac
+++ b/sim/riscv/configure.ac
@@ -6,7 +6,6 @@ SIM_AC_COMMON
 
 SIM_AC_OPTION_ENDIAN(LITTLE)
 SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
-SIM_AC_OPTION_ENVIRONMENT
 SIM_AC_OPTION_WARNINGS
 
 # Select the default model for the target.
-- 
2.31.1



More information about the Gdb-patches mailing list