summaryrefslogtreecommitdiff
path: root/OvmfPkg/RiscVVirt
diff options
context:
space:
mode:
authorSunil V L <sunilvl@ventanamicro.com>2023-07-11 21:13:33 +0530
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-07-31 12:37:12 +0000
commit0f9fd069198468c1927339db1db219c7f1bfe3d0 (patch)
treec3eb3819a01f80d56fa9ac6d7a54b38e440ac908 /OvmfPkg/RiscVVirt
parent8543840cfdfe9578174f937b9bfe3e7584cb7078 (diff)
downloadedk2-0f9fd069198468c1927339db1db219c7f1bfe3d0.zip
edk2-0f9fd069198468c1927339db1db219c7f1bfe3d0.tar.gz
edk2-0f9fd069198468c1927339db1db219c7f1bfe3d0.tar.bz2
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
Diffstat (limited to 'OvmfPkg/RiscVVirt')
-rw-r--r--OvmfPkg/RiscVVirt/Sec/SecEntry.S3
1 files changed, 0 insertions, 3 deletions
diff --git a/OvmfPkg/RiscVVirt/Sec/SecEntry.S b/OvmfPkg/RiscVVirt/Sec/SecEntry.S
index e919a3c..192fff3 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)