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 E6998C433EF for ; Sat, 4 Dec 2021 16:04:36 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4A7ED83094; Sat, 4 Dec 2021 17:04:30 +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="LM48TbOE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3B9FD82982; Sat, 4 Dec 2021 17:04:23 +0100 (CET) Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) (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 4C1CA830E5 for ; Sat, 4 Dec 2021 16:57:38 +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-ot1-x329.google.com with SMTP id x3-20020a05683000c300b0057a5318c517so7578940oto.13 for ; Sat, 04 Dec 2021 07:57:38 -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=/ldy4uKfo/+SJqZnQnB5CR5sjJXc8ZCW4pUMYWvuTJA=; b=LM48TbOEJZrii6FMk+h/5nShH+8chd0EuVPXgpJ+n4EfdmltxkSrECRgT2i4NllvPm hUVpGX4COTJqzcrTTjybeNSqtpn2V9wjrOzY/fQbl+4OW7Gi+g1DtL2WartMD8A+hkIi smiV9XfZmTUCyUPriy8E06iJpswTNTxsSjgng= 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=/ldy4uKfo/+SJqZnQnB5CR5sjJXc8ZCW4pUMYWvuTJA=; b=DMFJFWAsfgBbKAItc2b4dLRlUs88jcM07beWgUrbcK0q5H8m+hVDZlPhBVW4sPY3nj 0R2YoZb2xC/Riq+J0JVpGeOAxR/sbO/dvjSoIJavbbIT3Xr8l8elxIDMpBdc22BaXiSE iV4pqepIeNGOGwRiSMVg2zxl2KSGtPHRODkLSwPlRFWm4j81BXZqGbxCdpRRHmlufS3V HvXmlt5nsUDE1gfk3gtMvetUcUXBhOrWLo07B2SeYDO8Ih2uMgjZ3X9hVWItqhiSjOjr AbTczsEViyPMMzUvvgIbYHpaM7daLgQ0wU5uscut1NuMjMutj6zYmO7J0epPik6VyK8A QunQ== X-Gm-Message-State: AOAM533PERiUfKrqww1H/LZ2EjG2Z7MneoZqdcgvVSHD+S2EPWKpOXON a6SItjHko4DWdhRKnpyTeewUU+58WZzbHw== X-Google-Smtp-Source: ABdhPJzAhlWRooR4Zu2gGrJv4y0rhQ9VyX0g9UiX99c5m/sUPAVtJsSTOS1a4ooeOKQSxnuBcu4O+Q== X-Received: by 2002:a05:6830:439f:: with SMTP id s31mr21197472otv.272.1638633456839; Sat, 04 Dec 2021 07:57:36 -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 a12sm1230513otk.35.2021.12.04.07.57.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Dec 2021 07:57:36 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Ilias Apalodimas , Christian Melki , Bin Meng , Heinrich Schuchardt , Tom Rini , Simon Glass , Alexander Graf Subject: [PATCH v5 25/28] x86: efi: Round out the link script for 64-bit EFI Date: Sat, 4 Dec 2021 08:56:54 -0700 Message-Id: <20211204085647.v5.25.Ibbbfbb93440dae511929e6f988c0c13741f4bf2f@changeid> X-Mailer: git-send-email 2.34.1.400.ga245620fadb-goog In-Reply-To: <20211204155657.2913911-1-sjg@chromium.org> References: <20211204155657.2913911-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 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.2 at phobos.denx.de X-Virus-Status: Clean 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 --- 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(-) 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) } -- 2.34.1.400.ga245620fadb-goog