From b900245c3b92fc460a3f7fa17d14eb08f9ab4c76 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 3 Jan 2016 19:11:58 -0500 Subject: [PATCH] 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. --- 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 + * sim-config.c (print_sim_config): Delete sim_io_printf of version, + date, and time information. + +2016-01-06 Mike Frysinger + * 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.7.4