sim: config: drop use of __DATE__/__TIME__ [committed]

Message ID 1452135193-2215-1-git-send-email-vapier@gentoo.org
State Committed
Headers

Commit Message

Mike Frysinger Jan. 7, 2016, 2:53 a.m. UTC
  These don't add a whole lot of useful info, and people don't like them as
it makes builds unreproducible, so just drop them.
---
 sim/common/ChangeLog    | 5 +++++
 sim/common/sim-config.c | 7 -------
 2 files changed, 5 insertions(+), 7 deletions(-)
  

Patch

diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index f1b372b..d2aa37e 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,10 @@ 
 2016-01-06  Mike Frysinger  <vapier@gentoo.org>
 
+	* sim-config.c (print_sim_config): Delete sim_io_printf of version,
+	date, and time information.
+
+2016-01-06  Mike Frysinger  <vapier@gentoo.org>
+
 	* sim-options.c (sim_parse_args): Mark argv array const.
 	* sim-options.h (sim_parse_args): Likewise.
 
diff --git a/sim/common/sim-config.c b/sim/common/sim-config.c
index d9036e1..7e66787 100644
--- a/sim/common/sim-config.c
+++ b/sim/common/sim-config.c
@@ -295,13 +295,6 @@  sim_config (SIM_DESC sd)
 void
 print_sim_config (SIM_DESC sd)
 {
-#if defined (__GNUC__) && defined (__VERSION__)
-  sim_io_printf (sd, "Compiled by GCC %s on %s %s\n",
-			  __VERSION__, __DATE__, __TIME__);
-#else
-  sim_io_printf (sd, "Compiled on %s %s\n", __DATE__, __TIME__);
-#endif
-
   sim_io_printf (sd, "WITH_TARGET_BYTE_ORDER   = %s\n",
 		 config_byte_order_to_a (WITH_TARGET_BYTE_ORDER));