This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] x86: add retf
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jan Beulich <jbeulich at novell dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 28 Aug 2008 07:24:12 -0700
- Subject: Re: [PATCH] x86: add retf
- References: <48B69A75.76E4.0078.0@novell.com>
On Thu, Aug 28, 2008 at 11:30:45AM +0100, Jan Beulich wrote:
> ... as this is the official mnemonic for far returns.
>
> Built and tested on i686-pc-linux-gnu.
>
> gas/testsuite/
> 2008-08-28 Jan Beulich <jbeulich@novell.com>
>
> * gas/i386/intel.s: Replace lret by retf.
> * gas/i386/opcode-intel.d: Likewise.
We have to support lret. Please keep the lret test and add the retf
test. OK with this change.
>
> opcodes/
> 2008-08-28 Jan Beulich <jbeulich@novell.com>
>
> * i386-dis.c (dis386): Adjust far return mnemonics.
> * i386-opc.tbl: Add retf.
> * i386-tbl.h: Re-generate.
>
Thanks.
H.J.