This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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(-)

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));
 
-- 
2.6.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]