diff options
author | Phil Blundell <philb@gnu.org> | 2000-09-08 21:05:33 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2000-09-08 21:05:33 +0000 |
commit | e0e3ecca5c85732382b3d47efc14bfb26ca31bb2 (patch) | |
tree | 597831f631d75ce9e26fe5176cd5178186a0687b /gas/config/tc-arm.c | |
parent | d14442f4a6291106bb9fd26d3d4d490e6e01cc6e (diff) | |
download | gdb-e0e3ecca5c85732382b3d47efc14bfb26ca31bb2.zip gdb-e0e3ecca5c85732382b3d47efc14bfb26ca31bb2.tar.gz gdb-e0e3ecca5c85732382b3d47efc14bfb26ca31bb2.tar.bz2 |
2000-09-08 Philip Blundell <philb@gnu.org>
* config/tc-arm.c (md_apply_fix3): Correct handling of ADRL when
offset is negative.
Diffstat (limited to 'gas/config/tc-arm.c')
-rw-r--r-- | gas/config/tc-arm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index faded96..0cc8cab 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -5676,7 +5676,7 @@ md_apply_fix3 (fixP, val, seg) if (newimm != (unsigned int) FAIL) newinsn = temp; /* Still No ? Try using a negated value. */ - else if (validate_immediate_twopart (- value, & highpart) != (unsigned int) FAIL) + else if ((newimm = validate_immediate_twopart (- value, & highpart)) != (unsigned int) FAIL) temp = newinsn = (temp & OPCODE_MASK) | OPCODE_SUB << DATA_OP_SHIFT; /* Otherwise - give up. */ else |