Message ID | 20211217124039.v6.24.Ibbbfbb93440dae511929e6f988c0c13741f4bf2f@changeid |
---|---|
State | Superseded |
Delegated to: | Heinrich Schuchardt |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=kjRABk8e; dkim-atps=neutral Authentication-Results: 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=<UNKNOWN>) 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 RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JFzxM3cLRz9sXM for <incoming@patchwork.ozlabs.org>; Sat, 18 Dec 2021 06:45:59 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0C3D783813; Fri, 17 Dec 2021 20:43:36 +0100 (CET) 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="kjRABk8e"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AC24B837A5; Fri, 17 Dec 2021 20:42:09 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, 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-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (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 A6D6683751 for <u-boot@lists.denx.de>; Fri, 17 Dec 2021 20:41:39 +0100 (CET) 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-il1-x12f.google.com with SMTP id j6so1045129ila.4 for <u-boot@lists.denx.de>; Fri, 17 Dec 2021 11:41:39 -0800 (PST) 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=ieGZgKQau7GvHN6R9mMTcbHeB8QrduEGsq79db1UF3Y=; b=kjRABk8eQa1vQSwuja2yEB228grcr5f1IyR9nt6Hkir7jz4crzKkqdmXc2F9Yg8YYA jfWjjY3aiiI9wi/nXkFZ1enfrxpdu5I9yuwCAZjrgG5bOWWAnB5Tjs7e28dKVSF+tQII w0M1ZPCDSkiPxBXDmOLz99QuUn2o5B0mZo2os= 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=ieGZgKQau7GvHN6R9mMTcbHeB8QrduEGsq79db1UF3Y=; b=0BlkqQdutXXQ1ju2dOhPpUGB/0+RwwFPM25aSDIoA5a5pQEHUHpcOgbc+F7bVQj1wA Ptk2qt9UQB/TdErQtKeuLwxPkphXa/PN9xsIR7Vwzq3stVz/2VVsJxR3nZ/Mz/44Xy+s yCZIgxsrAXQ40HtSnV8XsT58sDugKtMVwrS9jj1BG5uL2jcI4JLw49T6t9mAdYNrYx81 yZJmhSY8JrGk0EMDtlENShDuBoS/jKKleBf3nPCnvolAAJ4YR848UNWNPr1X8tVkTgnX 7sX1OLheK4BU2T63NR6sfKwN310qF2dCM8+HfjlhCTFHIpbLuOY6jUvC31F3YScMk9JA dwZg== X-Gm-Message-State: AOAM532VsNbIF/RqM2mc8PutYF7wPQVKoL+RokAUMnEGiUAvbZ+/vlvA tr8L/WDflB8jNUue8jMW+V4dho+1zdWTqw== X-Google-Smtp-Source: ABdhPJxkn7GbmaSyHXNu0lsbduUPg0DjrMLx0lWxmIUU7kqQQ0Zxkq2trxgWEGeSp29E0Uw+JuhG3A== X-Received: by 2002:a05:6e02:1a47:: with SMTP id u7mr2417255ilv.258.1639770098078; Fri, 17 Dec 2021 11:41:38 -0800 (PST) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id w19sm6079605iov.12.2021.12.17.11.41.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Dec 2021 11:41:37 -0800 (PST) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Bin Meng <bmeng.cn@gmail.com>, Heinrich Schuchardt <xypron.glpk@gmx.de>, Tom Rini <trini@konsulko.com>, Ilias Apalodimas <ilias.apalodimas@linaro.org>, Christian Melki <christian.melki@t2data.com>, Simon Glass <sjg@chromium.org>, Alexander Graf <agraf@csgraf.de> Subject: [PATCH v6 24/27] x86: efi: Round out the link script for 64-bit EFI Date: Fri, 17 Dec 2021 12:40:56 -0700 Message-Id: <20211217124039.v6.24.Ibbbfbb93440dae511929e6f988c0c13741f4bf2f@changeid> X-Mailer: git-send-email 2.34.1.173.g76aa8bc2d0-goog In-Reply-To: <20211217194059.858580-1-sjg@chromium.org> References: <20211217194059.858580-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
efi: Improvements to U-Boot running on top of UEFI
|
expand
|
diff --git a/arch/x86/lib/elf_x86_64_efi.lds b/arch/x86/lib/elf_x86_64_efi.lds index b436429b33e..75727400aa4 100644 --- a/arch/x86/lib/elf_x86_64_efi.lds +++ b/arch/x86/lib/elf_x86_64_efi.lds @@ -63,6 +63,7 @@ SECTIONS *(.rela.data*) *(.rela.got) *(.rela.stab) + *(.rela.u_boot_list*) } . = ALIGN(4096); @@ -70,9 +71,11 @@ SECTIONS . = ALIGN(4096); .dynstr : { *(.dynstr) } . = ALIGN(4096); + + /DISCARD/ : { *(.eh_frame) } + .ignored.reloc : { *(.rela.reloc) - *(.eh_frame) *(.note.GNU-stack) }
Make sure the linker lists are in the right place and drop the eh_frame section, which is not needed. Signed-off-by: Simon Glass <sjg@chromium.org> --- (no changes since v5) Changes in v5: - Add new patch to round out the link script for 64-bit EFI arch/x86/lib/elf_x86_64_efi.lds | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)