On Sep 11, 2014, at 5:38 AM, Nikolai Saoukh <[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]>

Thanks,

Andrew Fish

> Patch attached. Please review & commit.
> 
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Nikolai Saoukh <[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

Reply via email to