From patchwork Mon Aug 20 12:32:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 144610 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3920225ljj; Mon, 20 Aug 2018 05:34:39 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyLj3iBlcyTz9rQhZBfn0E91fibxrrZ/jhE9SYOIcGSxWpyiMGrrBjPOxU4SM9L+5+k5dwI X-Received: by 2002:aa7:c803:: with SMTP id a3-v6mr55752205edt.124.1534768479395; Mon, 20 Aug 2018 05:34:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534768479; cv=none; d=google.com; s=arc-20160816; b=PE2okDx2bDSxZW1div7ilmS7bktGk8uqaEt22eWEKW/nbKgbs1GuF4k3p/54ucMeu3 X9YMJYjlxqsRwpvbGCIuutMyjH63+/CFExh7Edd/oNWawHtSEkhVp/glcDJeQDxShAuw JlxkD+0TgrQ4x/Kkl3Y95NoV+nKD3S+xgXyoPZwxn+c7Z0CefCZMeiXaau/KhODlhANe 3D6C0fnBJ1Ff/auM1sj+YUlwCD1VujgY8OsW6dbbQ8dmpwytUlilxwsWgPOpR7OLF3qU YMPuL4FXoqLB/GijS5wtViLq0nyqcoDk6iIT0kLDGGS2FRKxSjgxsVfIuL6tLYV2kI3o sGMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:arc-authentication-results; bh=1df7KOshT1jHKgbuHxRYOINBE+7KJPzrxQVh2r/sBpg=; b=b6r6vEJNc9NRjbYjRvNNQTL/NV8fNWPDBDM3j49UgetpnhZTZwzVuNqcRawcvoy3Bj 3qgNFgwNpZRcnCAsj94Jt4jXl1AMrG7ZdQy/QcO3HIcKmmkM95iv7gqFoLwe5pzXjb1H C5aEVm3nhKT2XiP0SHWylLZH/cdymt9oEjMcgHFsGmtVDR/GMnXivQTP3Z3cNZlW0hFP JH6IfYtyVB3c9u9U8PqGto2ExQZnWX2SaJF7V+Pbaj44HnEQjpfxXpqGPZYLKHS6PNYA H4ua1WQV4kZorU+l1I1u9UvwCbv57df+Q2nVkzvoAhMXJAJRpRI5622+FNbQ/um9nu8L 5uQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id o18-v6si3666370edf.177.2018.08.20.05.34.39; Mon, 20 Aug 2018 05:34:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 03F0FC21E44; Mon, 20 Aug 2018 12:33:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id C8D82C21E31; Mon, 20 Aug 2018 12:32:28 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 2C58DC21D74; Mon, 20 Aug 2018 12:32:24 +0000 (UTC) Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) by lists.denx.de (Postfix) with ESMTPS id E82C7C21D74 for ; Mon, 20 Aug 2018 12:32:23 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 82BB2AE7E; Mon, 20 Aug 2018 12:32:23 +0000 (UTC) From: Alexander Graf To: U-Boot Mailing List Date: Mon, 20 Aug 2018 14:32:20 +0200 Message-Id: <20180820123220.55342-4-agraf@suse.de> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20180820123220.55342-1-agraf@suse.de> References: <20180820123220.55342-1-agraf@suse.de> Cc: Heinrich Schuchardt , Tom Rini Subject: [U-Boot] [PATCH 3/3] riscv: Include bss subsections in linker script X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" When we build with -fdata-sections we may end up with bss subsections. Our linker script explicitly lists only a single consecutive bss section though. Adapt the statement to also include subsections. Signed-off-by: Alexander Graf --- arch/riscv/cpu/ax25/u-boot.lds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/cpu/ax25/u-boot.lds b/arch/riscv/cpu/ax25/u-boot.lds index 3cc89746b1..c50b9642f1 100644 --- a/arch/riscv/cpu/ax25/u-boot.lds +++ b/arch/riscv/cpu/ax25/u-boot.lds @@ -82,7 +82,7 @@ SECTIONS .bss : { __bss_start = .; - *(.bss) + *(.bss*) . = ALIGN(4); __bss_end = .; }