* [PATCH] sim: config: drop use of __DATE__/__TIME__ [committed]
@ 2016-01-07 2:53 Mike Frysinger
0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2016-01-07 2:53 UTC (permalink / raw)
To: gdb-patches
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-01-07 2:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-07 2:53 [PATCH] sim: config: drop use of __DATE__/__TIME__ [committed] Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).