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 7133a9e..3a3f76e 100644 (file)
@@ -46,7 +46,7 @@ ASM_PFX(_ModuleEntryPoint):
   #\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