]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmVirtPkg: use correct ASM decoration for non-function global symbols
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 7 Jul 2015 14:34:52 +0000 (14:34 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Tue, 7 Jul 2015 14:34:52 +0000 (14:34 +0000)
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

ArmVirtPkg/PrePi/AArch64/ModuleEntryPoint.S

index 0adaf44c9ed9d9f5ca8f07e2b9ee3bbae5c9db8f..f0cf865b3c9375a8cd5eecef59c3a9b801967bd5 100644 (file)
@@ -25,10 +25,10 @@ GCC_ASM_IMPORT(ArmReadMpidr)
 GCC_ASM_IMPORT(ArmPlatformPeiBootAction)\r
 GCC_ASM_IMPORT(ArmPlatformStackSet)\r
 GCC_ASM_EXPORT(_ModuleEntryPoint)\r
-GCC_ASM_EXPORT(mSystemMemoryEnd)\r
+ASM_GLOBAL ASM_PFX(mSystemMemoryEnd)\r
 \r
-StartupAddr:        .8byte ASM_PFX(CEntryPoint)\r
-mSystemMemoryEnd:   .8byte 0\r
+StartupAddr:                  .8byte ASM_PFX(CEntryPoint)\r
+ASM_PFX(mSystemMemoryEnd):    .8byte 0\r
 \r
 ASM_PFX(_ModuleEntryPoint):\r
   //\r