]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/Sec/SecEntryPoint.S
Arm Packages: Fix builds for XCODE32 toolchain
[mirror_edk2.git] / ArmPlatformPkg / Sec / SecEntryPoint.S
index f92a2dffbaf9dd6de892aaf65855513a3d05b2b6..87de96e916dc44962dfd583d99fa8963d83abf55 100644 (file)
@@ -42,7 +42,7 @@ ASM_PFX(_ModuleEntryPoint):
   blx   ASM_PFX(ArmPlatformSecBootAction)\r
 \r
   // Set VBAR to the start of the exception vectors in Secure Mode\r
-  ldr   r0, =SecVectorTable\r
+  LoadConstantToReg (ASM_PFX(SecVectorTable), r0)\r
   bl    ASM_PFX(ArmWriteVBar)\r
 \r
 _IdentifyCpu:\r