From patchwork Thu Jan 7 02:53:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 10262 Received: (qmail 109722 invoked by alias); 7 Jan 2016 02:53:21 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 109643 invoked by uid 89); 7 Jan 2016 02:53:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1338 X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 07 Jan 2016 02:53:17 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 50D81340998 for ; Thu, 7 Jan 2016 02:53:14 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH] sim: config: drop use of __DATE__/__TIME__ [committed] Date: Wed, 6 Jan 2016 21:53:13 -0500 Message-Id: <1452135193-2215-1-git-send-email-vapier@gentoo.org> X-IsSubscribed: yes 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));