This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] Arm Thumb-2 offset checking off-by-one
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Paul Brook <paul at codesourcery dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 21 Feb 2006 10:19:25 +0000
- Subject: Re: [patch] Arm Thumb-2 offset checking off-by-one
- References: <200602202322.46694.paul@codesourcery.com>
On Mon, 2006-02-20 at 23:22, Paul Brook wrote:
> The patch below fixes a bunch of off-by-one errors in the checking of
> immediate offsets in Thumb-2 address operands.
> The offsets is stored in the instruction as an unbiased unsigned integer, and
> the all ones value has no special meaning.
>
> Tested with cross to arm-none-eabi.
> Ok?
>
> Paul
>
> 2006-02-20 Paul Brook <paul@codesourcery.com>
>
> * config/tc-arm.c (md_apply_fix): Fix off-by-one errors.
OK.
R.