This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] Enforce Arm SWP operand constraints
- 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, 06 Sep 2005 16:50:05 +0100
- Subject: Re: [patch] Enforce Arm SWP operand constraints
- References: <200509021751.59050.paul@codesourcery.com>
On Fri, 2005-09-02 at 17:51, Paul Brook wrote:
> The attached patch enforces the operand constraints on the Arm SWP
> instruction. The address register may not overlap the other registers.
>
> Tested with cross to arm-none-eabi.
> Ok?
>
> Paul
>
> 2005-09-02 Paul Brook <paul@codesourcery.com>
>
> gas/
> * config/tc-arm.c (do_rn_rd): Enforce SWP operand constraints.
> gas/testsuite/
> * gas/arm/arm3-bad.s: New test.
> * gas/arm/arm3-bad.d: New test.
> * gas/arm/arm3.s: Avoid illegal instructions.
> * gas/arm/arm3.d: Ditto.
OK.
R.