This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] Arm sub(3) disassemble
- From: Richard Earnshaw <rearnsha at gcc dot gnu dot org>
- To: Paul Brook <paul at codesourcery dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 30 Aug 2005 11:45:37 +0100
- Subject: Re: [patch] Arm sub(3) disassemble
- References: <200508280048.36745.paul@codesourcery.com>
On Sun, 2005-08-28 at 00:48, Paul Brook wrote:
> The attached patch fixes an inconsistency in the arm disassembler. The
> three-register 16-but thumb sub instruction sets the condition codes, but was
> being disassembled as "sub". Patch changed this to "subs" and adjusts fixed
> expected testcase output accordingly.
>
> Tested with cross to arm-none-eabi.
> Ok?
>
> Paul
>
> 2005-08-28 Paul Brook <paul@codesourcery.com>
>
> opcodes/
> * arm-dis.c (thumb_opcodes): Disassemble sub(3) as subs.
> gas/testsuite/
> * gas/arm/thumb.d: Change "sub rn, rn, rn" to "subs rn, rn, rn".
> * gas/arm/thumb32.d: Ditto.
OK.
R.