From: Dave Brolley Date: Thu, 26 Nov 1998 16:28:02 +0000 (+0000) Subject: Thu Nov 26 11:26:32 1998 Dave Brolley X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=b42d437552e7bc21ba6ccaa85701b4da01fae303;p=deliverable%2Fbinutils-gdb.git Thu Nov 26 11:26:32 1998 Dave Brolley * fr30-asm.c,fr30-dis.c,fr30-opc.c: Regenerated. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 7744de3408..cfc8db4bdd 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,4 +1,12 @@ start-sanitize-fr30 +Thu Nov 26 11:26:32 1998 Dave Brolley + + * fr30-asm.c,fr30-dis.c,fr30-opc.c: Regenerated. + +Tue Nov 24 11:20:54 1998 Dave Brolley + + * fr30-asm.c,fr30-dis.c: Regenerated. + Mon Nov 23 18:28:48 1998 Dave Brolley * fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated. diff --git a/opcodes/fr30-asm.c b/opcodes/fr30-asm.c index 959910a46c..292946a640 100644 --- a/opcodes/fr30-asm.c +++ b/opcodes/fr30-asm.c @@ -57,7 +57,7 @@ static const char * insert_insn_normal /* Handle register lists for LDMx and STMx */ static const char * -parse_reglist_low (od, strp, opindex, valuep) +parse_low_register_list (od, strp, opindex, valuep) CGEN_OPCODE_DESC od; const char **strp; int opindex; @@ -76,13 +76,13 @@ parse_reglist_low (od, strp, opindex, valuep) } static const char * -parse_reglist_hi (od, strp, opindex, valuep) +parse_hi_register_list (od, strp, opindex, valuep) CGEN_OPCODE_DESC od; const char **strp; int opindex; unsigned long *valuep; { - return parse_reglist_low (od, strp, opindex, valuep); + return parse_low_register_list (od, strp, opindex, valuep); } /* -- */ @@ -194,16 +194,16 @@ fr30_cgen_parse_operand (od, opindex, strp, fields) errmsg = cgen_parse_unsigned_integer (od, strp, FR30_OPERAND_DIR10, &fields->f_dir10); break; case FR30_OPERAND_LABEL9 : - errmsg = cgen_parse_signed_integer (od, strp, FR30_OPERAND_LABEL9, &fields->f_rel9); + errmsg = cgen_parse_unsigned_integer (od, strp, FR30_OPERAND_LABEL9, &fields->f_rel9); break; case FR30_OPERAND_LABEL12 : errmsg = cgen_parse_signed_integer (od, strp, FR30_OPERAND_LABEL12, &fields->f_rel12); break; case FR30_OPERAND_REGLIST_LOW : - errmsg = parse_reglist_low (od, strp, FR30_OPERAND_REGLIST_LOW, &fields->f_reglist_low); + errmsg = parse_low_register_list (od, strp, FR30_OPERAND_REGLIST_LOW, &fields->f_reglist_low); break; case FR30_OPERAND_REGLIST_HI : - errmsg = parse_reglist_hi (od, strp, FR30_OPERAND_REGLIST_HI, &fields->f_reglist_hi); + errmsg = parse_hi_register_list (od, strp, FR30_OPERAND_REGLIST_HI, &fields->f_reglist_hi); break; case FR30_OPERAND_CC : errmsg = cgen_parse_unsigned_integer (od, strp, FR30_OPERAND_CC, &fields->f_cc); @@ -364,7 +364,7 @@ fr30_cgen_insert_operand (od, opindex, fields, buffer, pc) case FR30_OPERAND_LABEL9 : { long value = fields->f_rel9; - value = ((int) (((value) - (((pc) & (-2))))) >> (1)); + value = ((int) (((value) - (((pc) + (2))))) >> (1)); errmsg = insert_normal (od, value, 0|(1<f_rel12; value = ((int) (((value) - (((pc) & (-2))))) >> (1)); - errmsg = insert_normal (od, value, 0|(1<f_rel9 = value; } break; case FR30_OPERAND_LABEL12 : { long value; - length = extract_normal (od, ex_info, insn_value, 0|(1<f_rel12 = value; } @@ -408,13 +408,13 @@ fr30_cgen_print_operand (od, opindex, info, fields, attrs, pc, length) print_normal (od, info, fields->f_rel9, 0|(1<f_rel12, 0|(1<f_rel12, 0|(1<f_reglist_low, 0|(1<f_reglist_low, 0|(1<f_reglist_hi, 0|(1<f_reglist_hi, 0|(1<f_cc, 0|(1<