mirror of https://github.com/acidanthera/audk.git
OvmfPkg/RiscVVirt: SecEntry: Remove unnecessary assembly directives
llvm fails to resolve _ModuleEntry when these extra directives are present. ASM_FUNC already takes care what is required. Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Andrei Warkentin <andrei.warkentin@intel.com> Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Tested-by: Ard Biesheuvel <ardb@kernel.org> # Debian clang version 14.0.6
This commit is contained in:
parent
8543840cfd
commit
0f9fd06919
|
@ -7,9 +7,6 @@
|
|||
|
||||
#include "SecMain.h"
|
||||
|
||||
.text
|
||||
.align 3
|
||||
|
||||
ASM_FUNC (_ModuleEntryPoint)
|
||||
/* Use Temp memory as the stack for calling to C code */
|
||||
li a4, FixedPcdGet32 (PcdOvmfSecPeiTempRamBase)
|
||||
|
|
Loading…
Reference in New Issue