]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPlatformPkg: use correct ASM decoration for non-function global symbols
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 7 Jul 2015 14:34:39 +0000 (14:34 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Tue, 7 Jul 2015 14:34:39 +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@17860 6f19259b-4bc3-4df7-8a09-765794883524

ArmPlatformPkg/PrePi/AArch64/ModuleEntryPoint.S

index 2c4a7e5324e97b17a17262404ac39cf01fb05fb7..0d0e3e17c170eea5db2771791d89db7d67aeb4a4 100644 (file)
@@ -24,10 +24,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
   // Do early platform specific actions\r