From d7de8249f067d69d47f230d2d402b68f12f51205 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Tue, 12 Feb 2002 14:51:54 +0000 Subject: [PATCH] [ opcodes/ChangeLog ] 2002-02-12 Graydon Hoare * cgen-asm.in (parse_insn_normal): Change call from @arch@_cgen_parse_operand to cd->parse_operand, to facilitate CGEN_ASM_INIT_HOOK doing useful work. --- opcodes/ChangeLog | 6 ++++++ opcodes/cgen-asm.in | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index a6a07e390bf..9a4ac0f9119 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +2002-02-12 Graydon Hoare + + * cgen-asm.in (parse_insn_normal): Change call from + @arch@_cgen_parse_operand to cd->parse_operand, to + facilitate CGEN_ASM_INIT_HOOK doing useful work. + 2002-02-11 Alexandre Oliva * sparc-dis.c (print_insn_sparc): Make sure 0xFFFFFFFF is not diff --git a/opcodes/cgen-asm.in b/opcodes/cgen-asm.in index 475a4f14690..525177c79d0 100644 --- a/opcodes/cgen-asm.in +++ b/opcodes/cgen-asm.in @@ -275,7 +275,7 @@ parse_insn_normal (cd, insn, strp, fields) } /* We have an operand of some sort. */ - errmsg = @arch@_cgen_parse_operand (cd, CGEN_SYNTAX_FIELD (*syn), + errmsg = cd->parse_operand (cd, CGEN_SYNTAX_FIELD (*syn), &str, fields); if (errmsg) return errmsg; -- 2.30.2