diff options
author | Nikolai Saoukh <nms@otdel-1.org> | 2014-09-12 08:38:23 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-09-12 08:38:23 +0000 |
commit | 010f55d3fb450d2878b73c7376f882edfcf1801e (patch) | |
tree | 0124476da4cb4c55e6d9a39cc315b845c30b57cd | |
parent | 7ae7dcb976a948ce7dea16a4e83f7e5ca1e1d291 (diff) | |
download | edk2-010f55d3fb450d2878b73c7376f882edfcf1801e.zip edk2-010f55d3fb450d2878b73c7376f882edfcf1801e.tar.gz edk2-010f55d3fb450d2878b73c7376f882edfcf1801e.tar.bz2 |
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 <nms@otdel-1.org>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16100 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ExceptionHandlerAsm.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ExceptionHandlerAsm.S b/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ExceptionHandlerAsm.S index e19afbe..627f3e5 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
|