From: Scott Duplichan Date: Fri, 10 Apr 2015 02:41:14 +0000 (+0000) Subject: CorebootModulePkg: Reformat asm constant to avoid gcc assembler fail X-Git-Tag: edk2-stable201903~10067 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=b6242db90a340a934f4ab2313df76b44c9b1dcb0;hp=c3911fd851125cd02b60ec4bfb7be54acc1cbbea CorebootModulePkg: Reformat asm constant to avoid gcc assembler fail The gnu assembler doesn't allow multiple '$' in an expression. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Scott Duplichan Reviewed-by: Maurice Ma git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17146 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/CorebootModulePkg/SecCore/Ia32/SecEntry.S b/CorebootModulePkg/SecCore/Ia32/SecEntry.S index 7133a9edb7..3a3f76ed6b 100644 --- a/CorebootModulePkg/SecCore/Ia32/SecEntry.S +++ b/CorebootModulePkg/SecCore/Ia32/SecEntry.S @@ -46,7 +46,7 @@ ASM_PFX(_ModuleEntryPoint): # # Construct the temporary memory at 0x80000, length 0x10000 # - movl ($BASE_512KB + $SIZE_64KB), %esp + movl $(BASE_512KB + SIZE_64KB), %esp # # Pass BFV into the PEI Core