diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-07-07 14:34:52 +0000 |
---|---|---|
committer | abiesheuvel <abiesheuvel@Edk2> | 2015-07-07 14:34:52 +0000 |
commit | 03931908e2e03240ede1ca509d6beda22a855d54 (patch) | |
tree | 41ebdcc5fbc796ff5bf6b3582f1dae4eed9a3b30 | |
parent | 7afaa6de40569e251a4a249848db66524dba3f1c (diff) | |
download | edk2-03931908e2e03240ede1ca509d6beda22a855d54.tar.gz edk2-03931908e2e03240ede1ca509d6beda22a855d54.tar.bz2 edk2-03931908e2e03240ede1ca509d6beda22a855d54.zip |
ArmVirtPkg: use correct ASM decoration for non-function global symbols
This fixes the declaration and definition of mSystemMemoryEnd so that it
is correctly annotated as a non-function symbol. Also adds the ASM_PFX
prefix, which is empty on AARCH64 but should be included for correctness.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17861 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | ArmVirtPkg/PrePi/AArch64/ModuleEntryPoint.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ArmVirtPkg/PrePi/AArch64/ModuleEntryPoint.S b/ArmVirtPkg/PrePi/AArch64/ModuleEntryPoint.S index 0adaf44c9e..f0cf865b3c 100644 --- a/ArmVirtPkg/PrePi/AArch64/ModuleEntryPoint.S +++ b/ArmVirtPkg/PrePi/AArch64/ModuleEntryPoint.S @@ -25,10 +25,10 @@ GCC_ASM_IMPORT(ArmReadMpidr) GCC_ASM_IMPORT(ArmPlatformPeiBootAction)
GCC_ASM_IMPORT(ArmPlatformStackSet)
GCC_ASM_EXPORT(_ModuleEntryPoint)
-GCC_ASM_EXPORT(mSystemMemoryEnd)
+ASM_GLOBAL ASM_PFX(mSystemMemoryEnd)
-StartupAddr: .8byte ASM_PFX(CEntryPoint)
-mSystemMemoryEnd: .8byte 0
+StartupAddr: .8byte ASM_PFX(CEntryPoint)
+ASM_PFX(mSystemMemoryEnd): .8byte 0
ASM_PFX(_ModuleEntryPoint):
//
|