From patchwork Tue May 7 17:50:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raymond Mao X-Patchwork-Id: 1932569 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=gPWc6T2Y; dkim-atps=neutral Authentication-Results: legolas.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=patchwork.ozlabs.org) 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 ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VYm9V3QXGz1ydW for ; Wed, 8 May 2024 03:53:50 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0689688377; Tue, 7 May 2024 19:53:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.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=linaro.org header.i=@linaro.org header.b="gPWc6T2Y"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BC955883BE; Tue, 7 May 2024 19:53:46 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qv1-xf2f.google.com (mail-qv1-xf2f.google.com [IPv6:2607:f8b0:4864:20::f2f]) (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 885DC8836C for ; Tue, 7 May 2024 19:53:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=raymond.mao@linaro.org Received: by mail-qv1-xf2f.google.com with SMTP id 6a1803df08f44-69b5de48126so10350226d6.3 for ; Tue, 07 May 2024 10:53:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715104423; x=1715709223; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kYxoRjxWSqY+duT/+85jTwVW/Ebk/XPVemnnDiVRRac=; b=gPWc6T2YvvExl9cBNWMNvy17ajD7hfA6LBroC/d0Lc8Npv24Bow9F+0bMUy9+zVwJ0 R9Jj1Kkd6MsZ2lLuldLI++Eh70gQTSHz5OL6QqB1B4AMorrhVTk+Bos7WP0z3zPZjpMY l3VgbC+VHmxMnBiA2O7IegUcVNuaQW6Ctl1pq8sF4PHE8k8MwvO/pQTdRkf5vXfT9Kc1 LZNLVN1FeeR1kHJneAH9uEmlwZ1dMC4LwBBlYwunQV/jCq/4Ranzx/nicKipMFhCkVwF 2Ob/MMJyR2G6cPbljnFB9l3OZnqoeLD5MPO/ZMNZcBz8UwY37H3/pKkVy5aFLobMd8b7 9pbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715104423; x=1715709223; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kYxoRjxWSqY+duT/+85jTwVW/Ebk/XPVemnnDiVRRac=; b=t5P8DfNz795gHdy9it3EZ2gGdv23g73ilC3lYM8vHmFn41GYhs0/P1GeqGxHpq/OQz HcNM3YiR6YJ1akV5QlrlVDDNkiy2Ej5duf/ER1QMKskqs08C87SNyX9/Hfyku7uo2/fd x3Lfw1k0cJ9Pz/UdO0sq4U4CmJHCZQAcOZZjNkeqRgtJKZzo+AeE7CR6X3pVxKDrvTR6 5GqAioXGPTYYcQRdI+PNqTeEIfoOwGPjaNLjxGFinBnB+CfurfWbSggQpeOetGjABQy7 79pLBRU0JZBCH322uTR6LYqzHc78yM+5nz6LngfbTPRo/W5UnUe4U1QBEu89HrCOzsou Dqnw== X-Gm-Message-State: AOJu0Yyqiuevzcpjz7AAx74xAkpVnFQ+eEeftTmsNEZDb4ox9EmLohap OfRM9TuAe5Y2XjG2OsXoepsARv8TJ5q2lUHK0xa+jbrOtJx4i/ANwiWT0gw94oaKKWxwKYUMTUe t X-Google-Smtp-Source: AGHT+IHIXT/+a1bwjoaV7Q1mT0k+IZDep3QyBKJerEZ9MNO0kqdKH45Um7TCB7AwestNs1GOJ8QsKw== X-Received: by 2002:a05:6214:5016:b0:6a0:cceb:b261 with SMTP id 6a1803df08f44-6a1514e8bd8mr6518486d6.57.1715104423083; Tue, 07 May 2024 10:53:43 -0700 (PDT) Received: from ubuntu.localdomain (pool-174-115-4-214.cpe.net.cable.rogers.com. [174.115.4.214]) by smtp.gmail.com with ESMTPSA id o1-20020a0cecc1000000b006a0f126a033sm4801834qvq.28.2024.05.07.10.53.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 10:53:42 -0700 (PDT) From: Raymond Mao To: u-boot@lists.denx.de Cc: Raymond Mao , Tom Rini , Heinrich Schuchardt , Ilias Apalodimas , Tuomas Tynkkynen , Simon Glass , Leo Yu-Chi Liang , Andrejs Cainikovs , Marek Vasut , Sean Anderson , Andrew Davis , Christophe Leroy , Sumit Garg , Jesse Taube , Bryan Brattlof , "Leon M. Busch-George" , Ralph Siemsen , Igor Opaniuk , Sergei Antonov , Ilya Lukin <4.shket@gmail.com>, Bin Meng , Alper Nebi Yasak , Abdellatif El Khlifi , AKASHI Takahiro , Alexander Gendin , Manorit Chawdhry , Eddie James , Oleksandr Suvorov , Masahisa Kojima Subject: [PATCH v2 04/28] arm: EFI linker script text section alignment Date: Tue, 7 May 2024 10:50:46 -0700 Message-Id: <20240507175132.1456512-5-raymond.mao@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240507175132.1456512-1-raymond.mao@linaro.org> References: <20240507175132.1456512-1-raymond.mao@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean Add text section alignment to fix sbsign signing warning 'gaps in the section table may result in different checksums' which causes a failure of efi_image_verify_diges() Signed-off-by: Raymond Mao --- Changes in v2 - None. arch/arm/lib/elf_aarch64_efi.lds | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/lib/elf_aarch64_efi.lds b/arch/arm/lib/elf_aarch64_efi.lds index 5dd98091698..bffd9a0447a 100644 --- a/arch/arm/lib/elf_aarch64_efi.lds +++ b/arch/arm/lib/elf_aarch64_efi.lds @@ -28,6 +28,7 @@ SECTIONS *(.dynamic); . = ALIGN(512); } + . = ALIGN(4096); .rela.dyn : { *(.rela.dyn) } .rela.plt : { *(.rela.plt) } .rela.got : { *(.rela.got) }