ArmPlatformPkg: auto-generate SEC ProcessLibraryConstructorList() decl

Rely on AutoGen for declaring ProcessLibraryConstructorList().

Build-tested with:

  build -a AARCH64 -b DEBUG \
    -m ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf \
    -p ArmPlatformPkg/ArmPlatformPkg.dsc -t GCC5

  build -a AARCH64 -b DEBUG \
    -m ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf \
    -p ArmPlatformPkg/ArmPlatformPkg.dsc -t GCC5

  build -a AARCH64 -b DEBUG \
    -m ArmPlatformPkg/PrePi/PeiMPCore.inf \
    -p ArmPlatformPkg/ArmPlatformPkg.dsc -t GCC5

  build -a AARCH64 -b DEBUG \
    -m ArmPlatformPkg/PrePi/PeiUniCore.inf \
    -p ArmPlatformPkg/ArmPlatformPkg.dsc -t GCC5

Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=990
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20240305113843.68812-6-lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Laszlo Ersek
2024-03-05 12:38:38 +01:00
committed by mergify[bot]
parent 524feaa32f
commit 91460083f1
6 changed files with 4 additions and 20 deletions

View File

@@ -73,14 +73,4 @@ PeiCommonExceptionEntry (
IN UINTN LR IN UINTN LR
); );
/*
* Autogenerated function that calls the library constructors for all of the
* module's dependent libraries.
*/
VOID
EFIAPI
ProcessLibraryConstructorList (
VOID
);
#endif #endif

View File

@@ -8,7 +8,7 @@
#**/ #**/
[Defines] [Defines]
INF_VERSION = 0x00010005 INF_VERSION = 1.30
BASE_NAME = ArmPlatformPrePeiCore BASE_NAME = ArmPlatformPrePeiCore
FILE_GUID = b78d02bb-d0b5-4389-bc7f-b39ee846c784 FILE_GUID = b78d02bb-d0b5-4389-bc7f-b39ee846c784
MODULE_TYPE = SEC MODULE_TYPE = SEC

View File

@@ -8,7 +8,7 @@
#**/ #**/
[Defines] [Defines]
INF_VERSION = 0x00010005 INF_VERSION = 1.30
BASE_NAME = ArmPlatformPrePeiCore BASE_NAME = ArmPlatformPrePeiCore
FILE_GUID = 469fc080-aec1-11df-927c-0002a5d5c51b FILE_GUID = 469fc080-aec1-11df-927c-0002a5d5c51b
MODULE_TYPE = SEC MODULE_TYPE = SEC

View File

@@ -8,7 +8,7 @@
#**/ #**/
[Defines] [Defines]
INF_VERSION = 0x00010005 INF_VERSION = 1.30
BASE_NAME = ArmPlatformPrePiMPCore BASE_NAME = ArmPlatformPrePiMPCore
FILE_GUID = d959e387-7b91-452c-90e0-a1dbac90ddb8 FILE_GUID = d959e387-7b91-452c-90e0-a1dbac90ddb8
MODULE_TYPE = SEC MODULE_TYPE = SEC

View File

@@ -9,7 +9,7 @@
#**/ #**/
[Defines] [Defines]
INF_VERSION = 0x00010005 INF_VERSION = 1.30
BASE_NAME = ArmPlatformPrePiUniCore BASE_NAME = ArmPlatformPrePiUniCore
FILE_GUID = 3e401783-cc94-4fcd-97bc-bd35ac369d2f FILE_GUID = 3e401783-cc94-4fcd-97bc-bd35ac369d2f
MODULE_TYPE = SEC MODULE_TYPE = SEC

View File

@@ -79,10 +79,4 @@ ArchInitialize (
VOID VOID
); );
VOID
EFIAPI
ProcessLibraryConstructorList (
VOID
);
#endif /* _PREPI_H_ */ #endif /* _PREPI_H_ */