From patchwork Thu Sep 16 17:30:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1529003 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4H9PHv3rD3z9sXS for ; Fri, 17 Sep 2021 03:30:49 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A04728312A; Thu, 16 Sep 2021 19:30:41 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 1F73A8312F; Thu, 16 Sep 2021 19:30:40 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id F0E4883129 for ; Thu, 16 Sep 2021 19:30:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qk1-f176.google.com with SMTP id c7so3311221qka.2 for ; Thu, 16 Sep 2021 10:30:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=TXnPzi5OSAKUkAPGMN7aV+YcVJoKEKiGOCkz4GwntFY=; b=tjay+6BvbzM0EodE7exs8bWOf1/++qhNWdU3WHuMo0ad72Upf1rv8sA8QitUFRlvLK NToDPAmfgUq3z3DrHJwx5wO+GquS5XHfh9tljTjcu34hpxZhSMv0oJUm2CjVANAsZxAB 0D33j7h3Wnkm7+z7EOp2MzU5lr55sWe0cui5TRSeHja9qW0o2H44kSmxA6cG7yuHMN3h KtIXYKlb8M1JGOkz2SqSpHwUS2b0RJofqCh7ihOBlc+w4u1d0zEwLpaVyB5f/PRMF7DB LnnDTTzzc/29Wu8qF9MGvDNzNAZv0AJGo+NNJD68nSVSxLoLWyADmej9Jm6B45dkQArE FhFQ== X-Gm-Message-State: AOAM5312vF55OVsXGgNWo05FZpWhokXKoc53bak1W5AqLPWFHhSdObNG LNaLu+o3uuNfxuP5qeAT7PNGCOp2Tg== X-Google-Smtp-Source: ABdhPJzKan5ENOQTETVrcA8AjJCWXgjQb15JZl3p+amVZMMkgY6X5zAj3QOV0ds9aOqpvdC8ZnykXA== X-Received: by 2002:a05:620a:3c4:: with SMTP id r4mr3991341qkm.480.1631813435053; Thu, 16 Sep 2021 10:30:35 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b01-cbda-d880-4580-a9ce-9f2f.res6.spectrum.com. [2603:6081:7b01:cbda:d880:4580:a9ce:9f2f]) by smtp.gmail.com with ESMTPSA id i6sm2266881qti.30.2021.09.16.10.30.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Sep 2021 10:30:25 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH] xtensa: Put U-Boot version string at correct place by linker script Date: Thu, 16 Sep 2021 13:30:21 -0400 Message-Id: <20210916173021.3347-1-trini@konsulko.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210802131838.21097-7-pali@kernel.org> References: <20210802131838.21097-7-pali@kernel.org> 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 Update the linker script macros to know that we need to include the .text_version_string section now as well. Signed-off-by: Tom Rini --- arch/xtensa/include/asm/ldscript.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/xtensa/include/asm/ldscript.h b/arch/xtensa/include/asm/ldscript.h index 08f5d0135ed0..84c496e09f1b 100644 --- a/arch/xtensa/include/asm/ldscript.h +++ b/arch/xtensa/include/asm/ldscript.h @@ -72,6 +72,7 @@ { \ _text_start = ABSOLUTE(.); \ *(.literal .text) \ + *(.literal .text_version_string) \ *(.literal.* .text.* .stub) \ *(.gnu.warning .gnu.linkonce.literal.*) \ *(.gnu.linkonce.t.*.literal .gnu.linkonce.t.*) \