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 33540C433F5 for ; Thu, 14 Apr 2022 14:00:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id ACA5283EBD; Thu, 14 Apr 2022 15:59:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=google.com 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=google.com header.i=@google.com header.b="OHcnG4Jy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8809683E88; Thu, 14 Apr 2022 15:59:49 +0200 (CEST) Received: from mail-wr1-x44a.google.com (mail-wr1-x44a.google.com [IPv6:2a00:1450:4864:20::44a]) (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 57E0383E60 for ; Thu, 14 Apr 2022 15:59:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=30ihYYgYKBp07P9RIIDLLDIB.9LJR-8LLQIFPQP.ABKU.AB@flex--ascull.bounces.google.com Received: by mail-wr1-x44a.google.com with SMTP id z16-20020adff1d0000000b001ef7dc78b23so843685wro.12 for ; Thu, 14 Apr 2022 06:59:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=igErWl+ExgVdDm5oOveQW2ZnYv+YQio8BAa5pvcSKGw=; b=OHcnG4JyWtsgref/tpW5c2w80OyVKDZ9vngHCn/Pn/jytNsa/SvkTA62FjFh/zeCYE SE9dbhTIeXa5kQWlk1sGEwRZYckeCYF+C5KwqqqwDbuUi4azuG0pK2k752OQsMo7cYL4 rJHHwQ/yTmO6Y+ppy/CQi+5ZX/TOQ2xa/orc13uZCutyynMrc+mrUbtfMsH73Hb6pf7m 8EIwH7AN2LvaD4f3rz2+TMQ/0bi2C8gWltCj/GXeU3p4jn4UnLKUHA0pGwXSZgejZvb5 tQKyGDTxAmQcBX2vOQsqrJsTN4O3hjHIcMdqMj2j625GpzIchHHCT+GnNsBKVYpACEh0 UoYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=igErWl+ExgVdDm5oOveQW2ZnYv+YQio8BAa5pvcSKGw=; b=cIi4qOZEyVtbBykritU+ouQhG7G+jz4zftXcYPIEXOMOErAgVVsSeVSHho5UDGNWoe 11KHqOA3U4Ga2l4xd86Oci7pcwKdmsrToYnhdQA/Ww0BZzYcutI/yZel4++E2coH54G+ 7DmDSxDbe7a0BayRRariy/uiQ2V+jaP3OM84Yqfm9tCeUCgklfiN84/UGZ8vClCyW1vV fuvRDTZJ2fhC18oRuZoEe92Rrvdv7lUNwWh/bBHW5ID6EVytfz6xV8OcMAaK56zqUFMC gCbpJKLN0wmkbuCsIjPnXbdmpBB4TjZ5jYgqyoPbGyCfIhtrp6ErTTwUKAaLtQ088iDR Aywg== X-Gm-Message-State: AOAM533rJkQgiMRACtqfopf8RaR56rZ+7Jmnl8JHW8vnjoS4jcngyHSa gAhRQycu9gRnHgvHgnpJs+rVlc439oke5LlYDn8Cgc01SxqFevLLMOWRrfre2MizUl99aQwfnL4 pUvrVfIndj+JblQ1V2N1U2DQtym6LKJUThtXq4F59z4tdk9dvUR+JOLYiLUg= X-Google-Smtp-Source: ABdhPJzaHN66gpT5DRRorlUhbrub3i04Y35lKiCLWICg/lOlSKMS3PGVt4vb2mHl7d8lle1Kn2RKDKiAWe8= X-Received: from ascull.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:1510]) (user=ascull job=sendgmr) by 2002:a05:600c:190c:b0:38e:aabe:66c4 with SMTP id j12-20020a05600c190c00b0038eaabe66c4mr3377675wmq.145.1649944786834; Thu, 14 Apr 2022 06:59:46 -0700 (PDT) Date: Thu, 14 Apr 2022 13:59:30 +0000 In-Reply-To: <20220414135941.1732585-1-ascull@google.com> Message-Id: <20220414135941.1732585-2-ascull@google.com> Mime-Version: 1.0 References: <20220414135941.1732585-1-ascull@google.com> X-Mailer: git-send-email 2.35.1.1178.g4f1659d476-goog Subject: [PATCH v2 01/12] sandbox: Fix EFI runtime symbol placement From: Andrew Scull To: u-boot@lists.denx.de Cc: sjg@chromium.org, xypron.glpk@gmx.de, Andrew Scull Content-Type: text/plain; charset="UTF-8" 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 The EFI symbols are collected in subsections of the .text, .rodata, .data and .rel sections. Use those when creating EFI runtime sections. Fixes: 7bf07cf872 (Partially revert "efi_loader: Rename sections to allow for implicit data") Signed-off-by: Andrew Scull Cc: Heinrich Schuchardt Cc: Simon Glass --- arch/sandbox/cpu/u-boot.lds | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/sandbox/cpu/u-boot.lds b/arch/sandbox/cpu/u-boot.lds index 6d710618f5..64db801018 100644 --- a/arch/sandbox/cpu/u-boot.lds +++ b/arch/sandbox/cpu/u-boot.lds @@ -24,8 +24,9 @@ SECTIONS } .efi_runtime : { - *(efi_runtime_text) - *(efi_runtime_data) + *(.text.efi_runtime*) + *(.rodata.efi_runtime*) + *(.data.efi_runtime*) } .__efi_runtime_stop : { @@ -38,8 +39,8 @@ SECTIONS } .efi_runtime_rel : { - *(.relefi_runtime_text) - *(.relefi_runtime_data) + *(.rel*.efi_runtime) + *(.rel*.efi_runtime.*) } .efi_runtime_rel_stop : -- 2.35.1.1178.g4f1659d476-goog