From aa6ee2911c847f099142132f43feb7997a63e3d9 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Fri, 4 May 2001 17:45:19 +0000 Subject: * m32r disasm bug fix 2001-05-04 Frank Ch. Eigler * m32r-dis.c, -asm.c, -ibld.c: Regenerated with disassembler fixes. 2001-05-04 Frank Ch. Eigler * cgen-dis.in (print_insn): Remove call to read_insn. Instead, assume incoming buffer already has the base insn loaded. Handle case of smaller-than-base instructions for variable-length case. --- opcodes/m32r-ibld.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'opcodes/m32r-ibld.c') diff --git a/opcodes/m32r-ibld.c b/opcodes/m32r-ibld.c index a3c76248be..f999bcd8d7 100644 --- a/opcodes/m32r-ibld.c +++ b/opcodes/m32r-ibld.c @@ -202,10 +202,10 @@ insert_normal (cd, value, attrs, word_offset, start, length, word_length, } /* Default insn builder (insert handler). - The instruction is recorded in CGEN_INT_INSN_P byte order - (meaning that if CGEN_INT_INSN_P BUFFER is an int * and thus the value is - recorded in host byte order, otherwise BUFFER is an array of bytes and the - value is recorded in target byte order). + The instruction is recorded in CGEN_INT_INSN_P byte order (meaning + that if CGEN_INSN_BYTES_PTR is an int * and thus, the value is + recorded in host byte order, otherwise BUFFER is an array of bytes + and the value is recorded in target byte order). The result is an error message or NULL if success. */ static const char * @@ -265,7 +265,7 @@ insert_insn_normal (cd, insn, fields, buffer, pc) static void put_insn_int_value (cd, buf, length, insn_length, value) - CGEN_CPU_DESC cd; + CGEN_CPU_DESC cd ATTRIBUTE_UNUSED; CGEN_INSN_BYTES_PTR buf; int length; int insn_length; -- cgit v1.2.1