summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-07-02 13:28:04 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-07-02 13:28:04 +0000
commit7668305cf438ca5e2b9d49d835b2c150590adf79 (patch)
tree467ea344d6fab84491a326c2fa858ed8e0d98d9e
parent8b4eff76bdff694e07ef8e8657b8487e8ad3fbe3 (diff)
downloadedk2-platforms-7668305cf438ca5e2b9d49d835b2c150590adf79.tar.xz
Use same scheme as *.asm file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10623 6f19259b-4bc3-4df7-8a09-765794883524
-rwxr-xr-xArmRealViewEbPkg/SecForPei/Arm/ModuleEntryPoint.S6
1 files changed, 2 insertions, 4 deletions
diff --git a/ArmRealViewEbPkg/SecForPei/Arm/ModuleEntryPoint.S b/ArmRealViewEbPkg/SecForPei/Arm/ModuleEntryPoint.S
index 385dd334bb..57fea68c65 100755
--- a/ArmRealViewEbPkg/SecForPei/Arm/ModuleEntryPoint.S
+++ b/ArmRealViewEbPkg/SecForPei/Arm/ModuleEntryPoint.S
@@ -31,8 +31,7 @@
.globl ASM_PFX(StartupAddr)
-ASM_PFX(CEntryPointData):
- .word ASM_PFX(StartupAddr)
+ASM_PFX(StartupAddr): .word ASM_PFX(CEntryPoint)
ASM_PFX(_ModuleEntryPoint):
@@ -67,8 +66,7 @@ ASM_PFX(_ModuleEntryPoint):
// move sec startup address into a data register
// ensure we're jumping to FV version of the code (not boot remapped alias)
- ldr r5, ASM_PFX(CEntryPointData) // Extra level of indirection fixes Xcode relocation issue
- ldr r4, [r5]
+ ldr r4, ASM_PFX(StartupAddr) // Extra level of indirection fixes Xcode relocation issue
// jump to SEC C code
blx r4