mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
7ae7dcb976
commit
010f55d3fb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue