From nobody Mon Feb 9 20:32:31 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+60895+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+60895+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1591637673; cv=none; d=zohomail.com; s=zohoarc; b=RBQg9Zw+cfg7RNDm2wm++fJvEmA9b/dgJmO/43y6cn46/SUyPISLnFbgFv/9Qj0hxDPVr3X5ImOM5NvF2WTnj2Ipp5I6LYiv8gXf/W2to7DusHCJ6+S4XtvM7RL1aEJRzKKp7QT4fDtAd684Yggdq6RsmBUT2IvYyXNlttQKrDI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1591637673; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=PmdEEK/n4QDijVc39Aq0UmO3hNtUXiApuX08BWEjQwk=; b=FSCL632tApuDEqJMg0jlL57O/ERaUn19XbuS79ZOtLWUvrOBcJV4j+wZkoNuLGaa5EX5uG3yQrILhWJ5bSMACVsk8DHf+RAY8V+SW964ZoS+tfu6i9nKMAXubvIBHJJDRPuSUQiGCO4bDtMbedjkuROLOKRgDJxgo9JXSf0ps+Q= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+60895+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1591637673793699.8840755285345; Mon, 8 Jun 2020 10:34:33 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id xEzuYY1788612xz6MW1E4D8G; Mon, 08 Jun 2020 10:34:33 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.148.1591637672938329769 for ; Mon, 08 Jun 2020 10:34:33 -0700 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9B7101FB; Mon, 8 Jun 2020 10:34:32 -0700 (PDT) X-Received: from localhost.localdomain (unknown [10.37.8.184]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B22BB3F73D; Mon, 8 Jun 2020 10:34:30 -0700 (PDT) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Bob Feng , Liming Gao , Laszlo Ersek , Leif Lindholm , Ilias Apalodimas , Julien Grall , Jiewen Yao Subject: [edk2-devel] [PATCH 4/4] ArmVirtPkg: remove unused files Date: Mon, 8 Jun 2020 19:34:13 +0200 Message-Id: <20200608173413.1100679-5-ard.biesheuvel@arm.com> In-Reply-To: <20200608173413.1100679-1-ard.biesheuvel@arm.com> References: <20200608173413.1100679-1-ard.biesheuvel@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ard.biesheuvel@arm.com X-Gm-Message-State: i78fJ2CssM41gdjSbjqBxGrex1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1591637673; bh=f1VZWa7DXtBcFnGFSpHcN1Ob9dEPDYAJGBgf02d8SFk=; h=Cc:Date:From:Reply-To:Subject:To; b=KMuX6Mz00P45T7oMpLl7oR3xaNdsiTRlAGn0IZOdmsHzQ0QGu6lzbwhpFfty5tEDxnv aY5S71ftEMC451h79VnpC5o5PTK1amLXFPbCBFOXGFha8F15laI4nhJsvKL1LhWT+ry2N KZBRBsDWWdggX5SyPC7G6JC1iqd/JgTPoKg= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" We no longer use ELF PIE executables to implement the self-relocating PrePi so drop the custom linker script and visibility override header file. Signed-off-by: Ard Biesheuvel Reviewed-by: Laszlo Ersek --- ArmVirtPkg/Include/Platform/Hidden.h | 22 ----------- ArmVirtPkg/PrePi/Scripts/PrePi-PIE.lds | 41 -------------------- 2 files changed, 63 deletions(-) diff --git a/ArmVirtPkg/Include/Platform/Hidden.h b/ArmVirtPkg/Include/Plat= form/Hidden.h deleted file mode 100644 index 7a7bdb42b8bd..000000000000 --- a/ArmVirtPkg/Include/Platform/Hidden.h +++ /dev/null @@ -1,22 +0,0 @@ -/** @file - - Copyright (c) 2018, Linaro Limited. All rights reserved. - - SPDX-License-Identifier: BSD-2-Clause-Patent - -**/ - -#ifndef __PLATFORM_HIDDEN_H -#define __PLATFORM_HIDDEN_H - -// -// Setting the GCC -fvisibility=3Dhidden command line option is not quite = the same -// as setting the pragma below: the former only affects definitions, where= as the -// pragma affects extern declarations as well. So if we want to ensure tha= t no -// GOT indirected symbol references are emitted, we need to use the pragma= , or -// GOT based cross object references could be emitted, e.g., in libraries,= and -// these cannot be relaxed to ordinary symbol references at link time. -// -#pragma GCC visibility push (hidden) - -#endif diff --git a/ArmVirtPkg/PrePi/Scripts/PrePi-PIE.lds b/ArmVirtPkg/PrePi/Scri= pts/PrePi-PIE.lds deleted file mode 100644 index c9a15ca3493a..000000000000 --- a/ArmVirtPkg/PrePi/Scripts/PrePi-PIE.lds +++ /dev/null @@ -1,41 +0,0 @@ -/** @file - - Copyright (c) 2015, Linaro Ltd. All rights reserved.
- - SPDX-License-Identifier: BSD-2-Clause-Patent - -**/ - -SECTIONS -{ - PROVIDE(__reloc_base =3D .); - - . =3D PECOFF_HEADER_SIZE; - .text : ALIGN(CONSTANT(COMMONPAGESIZE)) { - *(.text .text*) - *(.got .got*) - *(.rodata .rodata*) - *(.data .data*) - *(.bss .bss*) - - . =3D ALIGN(0x20); - PROVIDE(__reloc_start =3D .); - *(.rel .rel.*) - *(.rela .rela.*) - PROVIDE(__reloc_end =3D .); - } - - .note (INFO) : { *(.note.gnu.build-id) } - - /DISCARD/ : { - *(.note.GNU-stack) - *(.gnu.hash) - *(.gnu_debuglink) - *(.interp) - *(.dynamic) - *(.dynsym) - *(.dynstr) - *(.hash) - *(.comment) - } -} --=20 2.26.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#60895): https://edk2.groups.io/g/devel/message/60895 Mute This Topic: https://groups.io/mt/74757214/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-