Works with GCC46.
Reviewed-by: Jeff Fan <[email protected]>
From: Andrew Fish [mailto:[email protected]]
Sent: Thursday, September 11, 2014 10:01 PM
To: [email protected]
Subject: Re: [edk2] [Patch] UefiCpuPkg: error: invalid instruction mnemonic
'retf'
On Sep 11, 2014, at 5:38 AM, Nikolai Saoukh
<[email protected]<mailto:[email protected]>> wrote:
Well,
I assume .S assembler files must be AT&T syntax ones. So Intel syntax mnemonic
is not good. Discovered by clang integrated assembler.
>cat ret.S
.globl _Test
_Test:
lretq
>lldb a.out
Current executable set to 'a.out' (x86_64).
(lldb) dis -b -n Test
a.out[0x0]: 48 cb lretq
Works with Xcode.
Reviewed-by: Andrew Fish <[email protected]<mailto:[email protected]>>
Thanks,
Andrew Fish
Patch attached. Please review & commit.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Nikolai Saoukh <[email protected]<mailto:[email protected]>>
<ExceptionHandlerAsm.S.patch>
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel