From 010f55d3fb450d2878b73c7376f882edfcf1801e Mon Sep 17 00:00:00 2001 From: Nikolai Saoukh Date: Fri, 12 Sep 2014 08:38:23 +0000 Subject: UefiCpuPkg: error: invalid instruction mnemonic 'retf' .S assembler files must be AT&T syntax ones. So Intel syntax mnemonic is not good. Discovered by clang integrated assembler. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Nikolai Saoukh Reviewed-by: Jeff Fan git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16100 6f19259b-4bc3-4df7-8a09-765794883524 --- UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ExceptionHandlerAsm.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'UefiCpuPkg') diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ExceptionHandlerAsm.S b/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ExceptionHandlerAsm.S index e19afbe14..627f3e513 100644 --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ExceptionHandlerAsm.S +++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ExceptionHandlerAsm.S @@ -578,7 +578,7 @@ DoReturn: pushl -8(%esp) # save EIP in new location pushl -8(%esp) # save EFLAGS in new location popfl # restore EFLAGS - retf # far return + lret # far return DoIret: iretl -- cgit v1.2.3