Revision: 17860
          http://sourceforge.net/p/edk2/code/17860
Author:   abiesheuvel
Date:     2015-07-07 14:34:39 +0000 (Tue, 07 Jul 2015)
Log Message:
-----------
ArmPlatformPkg: 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 <[email protected]>
Reviewed-by: Olivier Martin <[email protected]>

Modified Paths:
--------------
    trunk/edk2/ArmPlatformPkg/PrePi/AArch64/ModuleEntryPoint.S

Modified: trunk/edk2/ArmPlatformPkg/PrePi/AArch64/ModuleEntryPoint.S
===================================================================
--- trunk/edk2/ArmPlatformPkg/PrePi/AArch64/ModuleEntryPoint.S  2015-07-07 
11:26:27 UTC (rev 17859)
+++ trunk/edk2/ArmPlatformPkg/PrePi/AArch64/ModuleEntryPoint.S  2015-07-07 
14:34:39 UTC (rev 17860)
@@ -24,10 +24,10 @@
 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):
   // Do early platform specific actions


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to