This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] sim: config: drop use of __DATE__/__TIME__
- From: Michael Frysinger <vapier at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 7 Jan 2016 02:53:13 -0000
- Subject: [binutils-gdb] sim: config: drop use of __DATE__/__TIME__
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b900245c3b92fc460a3f7fa17d14eb08f9ab4c76
commit b900245c3b92fc460a3f7fa17d14eb08f9ab4c76
Author: Mike Frysinger <vapier@gentoo.org>
Date: Sun Jan 3 19:11:58 2016 -0500
sim: config: drop use of __DATE__/__TIME__
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.
Diff:
---
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));