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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id DAE21C433EF for ; Sun, 27 Mar 2022 20:28:10 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CB2AF81DDF; Sun, 27 Mar 2022 22:27:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="YP89oObq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E279A839D3; Sun, 27 Mar 2022 22:27:15 +0200 (CEST) Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) (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 2ED558395A for ; Sun, 27 Mar 2022 22:27:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-pg1-x52c.google.com with SMTP id k14so10716764pga.0 for ; Sun, 27 Mar 2022 13:27:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UFOOkcS9rh4flZrYkL5g5ay84HOkSFRgjEMMQP4SmeA=; b=YP89oObq5QU/eahWzryit6STuToBIugLU23w6x3SEcz/hQj/ub7MRDUzy3bsFCGwGo orDWi8zxT2qwaumGWtiP1Gy04D2PumILmGMaEADAVz7s2ibi/qJMP7iQmIaMTmG/7zKc +yNxHRVGeJa7o5PCjV638r9pvmL65rH9yYTZU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UFOOkcS9rh4flZrYkL5g5ay84HOkSFRgjEMMQP4SmeA=; b=QwK78cYmmq6cyBK5UqA8hHcfe4pDNeoPnH5Cxieb3xypuQG0GIHhH5bKKflyBZJwVx /2trgFATab/W0to3kNvKhaqDkAv4OjbhB1mabxBnB+qPGPZYqi6vTAClVeIVtbO2oU2e yri4Q6WMoMU3uSzxMS+jUeAibe5kmUYNLQ5WK0H/hKPg4CwcEJCAv/jP3A3+5rp+ThmZ ak4gm7vmqkFFG2CrzZITPLryUlxYGh+KRMsxq1FBcZA6RQFXbyYUCnUQKlYNf9YjaML7 8fJsvr4iJTgSJ6CVf4WiD2SZtcMikMRHzdm2k2BkBpUICWrKbQE0JGhGsWGsFUX9IaJq z9sw== X-Gm-Message-State: AOAM531tzcr9eNuc5418uUfL2NNCsOzRaoyLOFEwjoqz5lzE59P17rtF Et+8o7P+zP7NBBMfL2o6AAYa27gIwVplAA== X-Google-Smtp-Source: ABdhPJwo0Q5zFm0tBMu4L8uZvI9VGatdEzAtjKuHT0G6wYWbbBAD8oLi6489s0XwmPG6M22UthgzMw== X-Received: by 2002:a05:6a00:124f:b0:4fb:2608:78de with SMTP id u15-20020a056a00124f00b004fb260878demr9952715pfi.27.1648412827470; Sun, 27 Mar 2022 13:27:07 -0700 (PDT) Received: from localhost.localdomain (118-93-105-181.dsl.dyn.ihug.co.nz. [118.93.105.181]) by smtp.gmail.com with ESMTPSA id k3-20020a056a00168300b004f7e60da26csm13915466pfc.182.2022.03.27.13.27.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Mar 2022 13:27:07 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Heinrich Schuchardt , Sean Anderson , =?UTF-8?q?Marek=20Beh=C3=BAn?= , U-Boot Custodians , Tom Rini , Simon Glass Subject: [PATCH 06/10] sandbox: Align linker lists to a 32-byte boundary Date: Sun, 27 Mar 2022 14:26:18 -0600 Message-Id: <20220327202622.3438333-6-sjg@chromium.org> X-Mailer: git-send-email 2.35.1.1021.g381101b075-goog In-Reply-To: <20220327202622.3438333-1-sjg@chromium.org> References: <20220327202622.3438333-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.5 at phobos.denx.de X-Virus-Status: Clean Use this larger boundary to ensure that linker lists at least start on the maximum possible alignment boundary. See also the CONFIG_LINKER_LIST_ALIGN setting, but that is host-arch-specific, so it seems better to use the largest value for every host architecture. Signed-off-by: Simon Glass --- arch/sandbox/cpu/u-boot-spl.lds | 2 +- arch/sandbox/cpu/u-boot.lds | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/sandbox/cpu/u-boot-spl.lds b/arch/sandbox/cpu/u-boot-spl.lds index 6754f4ef6cc..206e265e74b 100644 --- a/arch/sandbox/cpu/u-boot-spl.lds +++ b/arch/sandbox/cpu/u-boot-spl.lds @@ -8,7 +8,7 @@ SECTIONS { - . = ALIGN(4); + . = ALIGN(32); .u_boot_list : { KEEP(*(SORT(.u_boot_list*))); } diff --git a/arch/sandbox/cpu/u-boot.lds b/arch/sandbox/cpu/u-boot.lds index 6d710618f59..92e834a8d2b 100644 --- a/arch/sandbox/cpu/u-boot.lds +++ b/arch/sandbox/cpu/u-boot.lds @@ -8,7 +8,7 @@ SECTIONS { - . = ALIGN(4); + . = ALIGN(32); .u_boot_list : { KEEP(*(SORT(.u_boot_list*))); } -- 2.35.1.1021.g381101b075-goog