]> git.proxmox.com Git - mirror_edk2.git/commitdiff
CorebootModulePkg: Reformat asm constant to avoid gcc assembler fail
authorScott Duplichan <scott@notabs.org>
Fri, 10 Apr 2015 02:41:14 +0000 (02:41 +0000)
committermauricema <mauricema@Edk2>
Fri, 10 Apr 2015 02:41:14 +0000 (02:41 +0000)
The gnu assembler doesn't allow multiple '$' in an expression.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17146 6f19259b-4bc3-4df7-8a09-765794883524

CorebootModulePkg/SecCore/Ia32/SecEntry.S

index 7133a9edb70fc0ffb0bde32fd1be0967c38e3646..3a3f76ed6be4a563a55ed518b34c899f711031d4 100644 (file)
@@ -46,7 +46,7 @@ ASM_PFX(_ModuleEntryPoint):
   #\r
   # Construct the temporary memory at 0x80000, length 0x10000\r
   #\r
   #\r
   # Construct the temporary memory at 0x80000, length 0x10000\r
   #\r
-  movl ($BASE_512KB + $SIZE_64KB), %esp\r
+  movl $(BASE_512KB + SIZE_64KB), %esp\r
 \r
   #\r
   # Pass BFV into the PEI Core\r
 \r
   #\r
   # Pass BFV into the PEI Core\r