From 0485cba3d316c1a419ac147eccbc7f9bec8f5768 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 13 Dec 2000 06:23:56 +0000 Subject: [PATCH] Rodney Brown's CHECK_FIELD typo fixes. --- gas/ChangeLog | 5 +++++ gas/config/tc-hppa.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 2ba9c0e94a..abbb0a1fcf 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2000-12-13 Rodney Brown + + * config/tc-hppa.c (pa_ip): Correct CHECK_FIELD typo. + (md_apply_fix): Here too. + 2000-12-12 Jim Wilson * config/tc-ia64.h (ia64_init): Add prototype. diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index 2f889b284d..159aa67be0 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -3441,7 +3441,7 @@ pa_ip (str) if (strict && the_insn.exp.X_op != O_constant) break; s = expr_end; - CHECK_FIELD (num, 671108864, 0, strict); + CHECK_FIELD (num, 67108863, 0, strict); INSERT_FIELD_AND_CONTINUE (opcode, num, 0); /* Handle a 3 bit SFU identifier at 25. */ @@ -4461,7 +4461,7 @@ md_apply_fix (fixP, valp) /* Handle all the opcodes with the 'i' operand type. */ case 11: - CHECK_FIELD (new_val, 1023, -1023, 0); + CHECK_FIELD (new_val, 1023, -1024, 0); val = new_val; insn = (insn & ~ 0x7ff) | low_sign_unext (val, 11);