From patchwork Thu Aug 30 07:54:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 963787 X-Patchwork-Delegate: uboot@andestech.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Pb4A4mcr"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 421FGk63jNz9rvt for ; Thu, 30 Aug 2018 17:58:06 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 8A82AC21DB6; Thu, 30 Aug 2018 07:52:41 +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=FREEMAIL_FROM, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID 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 541C1C21DA2; Thu, 30 Aug 2018 07:50:45 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 4767BC21E1A; Thu, 30 Aug 2018 07:50:24 +0000 (UTC) Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by lists.denx.de (Postfix) with ESMTPS id 454DDC21E1A for ; Thu, 30 Aug 2018 07:50:20 +0000 (UTC) Received: by mail-pf1-f196.google.com with SMTP id h79-v6so3515806pfk.8 for ; Thu, 30 Aug 2018 00:50:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=p5w3zy1o9mf1yCvDtrVgkn7HBuk76ZezOmWe+zBf58o=; b=Pb4A4mcrVvZvsJX4wYlYbGebZQuFwTFjryuUiQ63UeNcD8spooHolLjmnS8ek32ju1 5gTeMsFKTRuN4IujhoqWJbTl1xALxEg7OwpSrgVs7bYYgMGnY+HX/De/aFjM62UBf05N S5JYtyWWKU23yKP6UQUkcseyKdxcvYMpmCmsXxIufOZDHyM4jS5qCjZ8h5gZci5r9dUm l86Fb/+pbE123CaOkl+dgh1ywfk5x+hB5s115eCaF40M9qvwuYE0Oy5Ef4PZW+VRTx8T aCMk5OASOpDvwKwUFVEjZYsxp0nScEBCbuomfp/TwEX7uCIeJAdt71VxPt+sDr7Vt0Cl oErA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=p5w3zy1o9mf1yCvDtrVgkn7HBuk76ZezOmWe+zBf58o=; b=GMzBwWSyXAJt64eoPm4nFUHywYc10zjwVAyGm0KmeGW2epFUxR+r2UoPBTgGYKzBZU oOTM2nXv+OCmsQmPa3qOqTv7SHH9ArUtjuttt/Ph/IzccJOXmI3wzaaLhjtOgpU7tg1N sLKYh1IpLhZOZXm9Jf8KVQFL0clGKJwQc00m1nYYtkRgS2fdiYBniGgUCNpgedSb3zIh UcYRWT4SMtp6ShRXTN+ZsvfIcHxclSLH9KTLdm9VReLX9VFfKSb7WFUCZw2U4OaCwueM gxtNRqKufEOxLpQj0hrKZmRCBS3Be65x6dIXf7BalwMVHaZ+lacC2NDKDmUmYyDaNR4+ FNeA== X-Gm-Message-State: APzg51Co48GeiZ/pPWTr1Qkk+Anfa4N3AM02PIM1Kvw6KF2Oj7FLSXhi TwhQqL3BMYObm9VWvZsxwbI= X-Google-Smtp-Source: ANB0VdadUcNbGPqc93Up9aty662gktfXbuc4vKHqd8jBX7UoGdGGQTKbhAVkTEfme/5NizxBOtuKeg== X-Received: by 2002:a63:7107:: with SMTP id m7-v6mr8579555pgc.73.1535615417465; Thu, 30 Aug 2018 00:50:17 -0700 (PDT) Received: from ala-d2121-lx1.wrs.com (unknown-156-139.windriver.com. [147.11.156.139]) by smtp.gmail.com with ESMTPSA id z17-v6sm12234266pfl.146.2018.08.30.00.50.16 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Aug 2018 00:50:16 -0700 (PDT) From: Bin Meng To: Rick Chen , U-Boot Mailing List Date: Thu, 30 Aug 2018 00:54:29 -0700 Message-Id: <1535615675-24819-7-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1535615675-24819-1-git-send-email-bmeng.cn@gmail.com> References: <1535615675-24819-1-git-send-email-bmeng.cn@gmail.com> Subject: [U-Boot] [PATCH 06/12] riscv: Fix coding style issues in the 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" There are several coding style issues in the linker script. Fix them. Signed-off-by: Bin Meng --- arch/riscv/cpu/u-boot.lds | 58 +++++++++++++++++++++++------------------------ 1 file changed, 28 insertions(+), 30 deletions(-) diff --git a/arch/riscv/cpu/u-boot.lds b/arch/riscv/cpu/u-boot.lds index c50b964..f414473 100644 --- a/arch/riscv/cpu/u-boot.lds +++ b/arch/riscv/cpu/u-boot.lds @@ -3,28 +3,27 @@ * Copyright (C) 2017 Andes Technology Corporation * Rick Chen, Andes Technology Corporation */ + OUTPUT_ARCH("riscv") ENTRY(_start) SECTIONS { . = ALIGN(4); - .text : - { + .text : { arch/riscv/cpu/ax25/start.o (.text) } /* This needs to come before *(.text*) */ .efi_runtime : { - __efi_runtime_start = .; + __efi_runtime_start = .; *(.text.efi_runtime*) *(.rodata.efi_runtime*) *(.data.efi_runtime*) - __efi_runtime_stop = .; + __efi_runtime_stop = .; } - .text_rest : - { + .text_rest : { *(.text*) } @@ -39,10 +38,10 @@ SECTIONS . = ALIGN(4); .got : { - __got_start = .; - *(.got.plt) *(.got) - __got_end = .; - } + __got_start = .; + *(.got.plt) *(.got) + __got_end = .; + } . = ALIGN(4); @@ -50,41 +49,40 @@ SECTIONS KEEP(*(SORT(.u_boot_list*))); } - . = ALIGN(4); + . = ALIGN(4); .efi_runtime_rel : { - __efi_runtime_rel_start = .; + __efi_runtime_rel_start = .; *(.rel*.efi_runtime) *(.rel*.efi_runtime.*) - __efi_runtime_rel_stop = .; + __efi_runtime_rel_stop = .; } - . = ALIGN(4); + . = ALIGN(4); - /DISCARD/ : { *(.rela.plt*) } - .rela.dyn : { - __rel_dyn_start = .; - *(.rela*) - __rel_dyn_end = .; - } + /DISCARD/ : { *(.rela.plt*) } + .rela.dyn : { + __rel_dyn_start = .; + *(.rela*) + __rel_dyn_end = .; + } - . = ALIGN(4); + . = ALIGN(4); - .dynsym : { - __dyn_sym_start = .; - *(.dynsym) - __dyn_sym_end = .; - } + .dynsym : { + __dyn_sym_start = .; + *(.dynsym) + __dyn_sym_end = .; + } - . = ALIGN(4); + . = ALIGN(4); _end = .; .bss : { - __bss_start = .; - *(.bss*) + __bss_start = .; + *(.bss*) . = ALIGN(4); __bss_end = .; } - }