From 0f9fd069198468c1927339db1db219c7f1bfe3d0 Mon Sep 17 00:00:00 2001 From: Sunil V L Date: Tue, 11 Jul 2023 21:13:33 +0530 Subject: 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 Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Cc: Andrei Warkentin Signed-off-by: Sunil V L Acked-by: Ard Biesheuvel Tested-by: Ard Biesheuvel # Debian clang version 14.0.6 --- OvmfPkg/RiscVVirt/Sec/SecEntry.S | 3 --- 1 file changed, 3 deletions(-) diff --git a/OvmfPkg/RiscVVirt/Sec/SecEntry.S b/OvmfPkg/RiscVVirt/Sec/SecEntry.S index e919a3cb0e..192fff321c 100644 --- a/OvmfPkg/RiscVVirt/Sec/SecEntry.S +++ b/OvmfPkg/RiscVVirt/Sec/SecEntry.S @@ -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) -- cgit v1.2.3