* [PATCH V3] IntelFsp2Pkg: Fix build error with WHOLEARCHIVE option
@ 2017-08-21 8:44 Song, BinX
0 siblings, 0 replies; only message in thread
From: Song, BinX @ 2017-08-21 8:44 UTC (permalink / raw)
To: Yao, Jiewen; +Cc: edk2-devel@lists.01.org
V3:
- Update dummy TempRamInitApi function and remove unnecessary info
V2:
- Recover TempRamInitApi API and add dummy TempRamInitApi function to fix
build error with WHOLEARCHIVE option
V1:
- Delete useless external TempRamInitApi API to fix /WHOLEARCHIVE build
error
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bell Song <binx.song@intel.com>
---
IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryM.nasm | 11 +++++++++++
IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryS.nasm | 11 +++++++++++
2 files changed, 22 insertions(+)
diff --git a/IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryM.nasm b/IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryM.nasm
index 9744e16..6833ca3 100644
--- a/IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryM.nasm
+++ b/IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryM.nasm
@@ -195,6 +195,17 @@ ASM_PFX(AsmGetPeiCoreOffset):
ret
;----------------------------------------------------------------------------
+; TempRamInit API
+;
+; Dummy function for WHOLEARCHIVE build option
+;
+;----------------------------------------------------------------------------
+global ASM_PFX(TempRamInitApi)
+ASM_PFX(TempRamInitApi):
+ jmp $
+ ret
+
+;----------------------------------------------------------------------------
; Module Entrypoint API
;----------------------------------------------------------------------------
global ASM_PFX(_ModuleEntryPoint)
diff --git a/IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryS.nasm b/IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryS.nasm
index cdc1149..80678dd 100644
--- a/IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryS.nasm
+++ b/IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryS.nasm
@@ -54,6 +54,17 @@ ASM_PFX(FspApiCommonContinue):
ret
;----------------------------------------------------------------------------
+; TempRamInit API
+;
+; Dummy function for WHOLEARCHIVE build option
+;
+;----------------------------------------------------------------------------
+global ASM_PFX(TempRamInitApi)
+ASM_PFX(TempRamInitApi):
+ jmp $
+ ret
+
+;----------------------------------------------------------------------------
; Module Entrypoint API
;----------------------------------------------------------------------------
global ASM_PFX(_ModuleEntryPoint)
--
2.10.2.windows.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-08-21 8:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-21 8:44 [PATCH V3] IntelFsp2Pkg: Fix build error with WHOLEARCHIVE option Song, BinX
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox