From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F2ADC4338F for ; Mon, 2 Aug 2021 13:21:36 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6CDD66112D for ; Mon, 2 Aug 2021 13:21:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6CDD66112D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5069983409; Mon, 2 Aug 2021 15:20:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="r+X6ENHM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C9470833F0; Mon, 2 Aug 2021 15:20:16 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8DC31833EE for ; Mon, 2 Aug 2021 15:19:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: by mail.kernel.org (Postfix) with ESMTPSA id 0BB3961100; Mon, 2 Aug 2021 13:19:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627910394; bh=h56N3Rp2L9D6YVwdAD/NEvev4Ks466L1zAj59Ok91q0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=r+X6ENHMO7GRrieqd/tQuvgKFobhK89ZGXA3hHPo4dNMu040q+af2h7dsNExZbYRK M4qHAY15aJ3/DbsTtLOfj6n6BBGPaRBgc0pncexKUsxHjo4aRuszOuyekgPPzQfGfK GzQzRqOGzbaRZI1b7AUOu1yCyf4Ejz5S1VPX0exV5pK7JSXkCO6QZIB8kNEkwz26SQ kVr6ktXrSyLG8GSKCJx6RM9kLPFCRr6z6QYEDPaULFoJCuC/tFZPJMwqohSvxRU32e HkUDw8Yini9cR88nsoQFl5xhKJMsav3kDxMK97EWevAk39ykqOh4/s8XNuZ0i/YhwF PUhmuHVhrg/3w== Received: by pali.im (Postfix) id C1980B98; Mon, 2 Aug 2021 15:19:53 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Simon Glass , Heinrich Schuchardt , Alexander Graf , Huan Wang , Angelo Dureghello , Wolfgang Denk , Priyanka Jain , Christophe Leroy , Bin Meng , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Tom Rini Cc: u-boot@lists.denx.de Subject: [PATCH 08/11] version: Do not make version_string[] variable as a weak Date: Mon, 2 Aug 2021 15:18:35 +0200 Message-Id: <20210802131838.21097-9-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210802131838.21097-1-pali@kernel.org> References: <20210802131838.21097-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean There is no platform which needs to overload version_string[] variable, so remove weak symbol mark. Signed-off-by: Pali Rohár --- cmd/version.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/version.c b/cmd/version.c index ad632fe4fb7a..38a26552a148 100644 --- a/cmd/version.c +++ b/cmd/version.c @@ -13,7 +13,7 @@ #include #endif -const char __weak version_string[] __section(".text_version_string") = U_BOOT_VERSION_STRING; +const char version_string[] __section(".text_version_string") = U_BOOT_VERSION_STRING; static int do_version(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) -- 2.20.1