From 041c6bdac69323bec437086636ac4050d95584c1 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 22 Mar 2010 03:29:46 +0000 Subject: [PATCH] Replace oprand_size_mismatch with operand_size_mismatch. 2010-03-21 H.J. Lu * config/tc-i386.c (i386_error): Replace oprand_size_mismatch with operand_size_mismatch. (operand_size_match): Updated. (match_template): Likewise. --- gas/ChangeLog | 7 +++++++ gas/config/tc-i386.c | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index dcc44a5ec..d6bffc190 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,12 @@ 2010-03-21 H.J. Lu + * config/tc-i386.c (i386_error): Replace oprand_size_mismatch + with operand_size_mismatch. + (operand_size_match): Updated. + (match_template): Likewise. + +2010-03-21 H.J. Lu + * config/tc-i386.c (i386_error): New. (_i386_insn): Replace err_msg with error. (operand_size_match): Set error instead of err_msg on failure. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 6def7691c..c4603a731 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -206,7 +206,7 @@ union i386_op enum i386_error { - oprand_size_mismatch, + operand_size_mismatch, operand_type_mismatch, register_type_mismatch, number_of_operands_mismatch, @@ -1579,7 +1579,7 @@ operand_size_match (const insn_template *t) else if (!t->opcode_modifier.d && !t->opcode_modifier.floatd) { mismatch: - i.error = oprand_size_mismatch; + i.error = operand_size_mismatch; return 0; } @@ -4109,7 +4109,7 @@ check_reverse: { default: abort (); - case oprand_size_mismatch: + case operand_size_mismatch: err_msg = _("operand size mismatch"); break; case operand_type_mismatch: -- 2.11.4.GIT