2013-01-09 Steve Ellcey <sellcey@mips.com>

* config/tc-i386.c (md_begin): Remove 'internal Error' from as_fatal
	calls.
	* config/tc-mips.c (internalError): Remove, replace with abort.
This commit is contained in:
Steve Ellcey 2013-01-09 18:31:21 +00:00
parent b2259038ba
commit b37df7c42d
3 changed files with 20 additions and 17 deletions

View File

@ -1,3 +1,9 @@
2013-01-09 Steve Ellcey <sellcey@mips.com>
* config/tc-i386.c (md_begin): Remove 'internal Error' from as_fatal
calls.
* config/tc-mips.c (internalError): Remove, replace with abort.
2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
* config/tc-aarch64.c (parse_operands): Change to compare the result

View File

@ -2375,7 +2375,7 @@ md_begin (void)
(void *) core_optab);
if (hash_err)
{
as_fatal (_("internal Error: Can't hash %s: %s"),
as_fatal (_("can't hash %s: %s"),
(optab - 1)->name,
hash_err);
}
@ -2397,7 +2397,7 @@ md_begin (void)
{
hash_err = hash_insert (reg_hash, regtab->reg_name, (void *) regtab);
if (hash_err)
as_fatal (_("internal Error: Can't hash %s: %s"),
as_fatal (_("can't hash %s: %s"),
regtab->reg_name,
hash_err);
}

View File

@ -1310,9 +1310,6 @@ static struct {
/* Prototypes for static functions. */
#define internalError() \
as_fatal (_("internal Error, line %d, %s"), __LINE__, __FILE__)
enum mips_regclass { MIPS_GR_REG, MIPS_FP_REG, MIPS16_REG };
static void append_insn
@ -5030,7 +5027,7 @@ macro_build (expressionS *ep, const char *name, const char *fmt, ...)
continue;
default:
internalError ();
abort ();
}
continue;
@ -5234,12 +5231,12 @@ macro_build (expressionS *ep, const char *name, const char *fmt, ...)
break;
default:
internalError ();
abort ();
}
continue;
default:
internalError ();
abort ();
}
break;
}
@ -10152,7 +10149,7 @@ mips16_macro (struct mips_cl_insn *ip)
switch (mask)
{
default:
internalError ();
abort ();
case M_DDIV_3:
dbl = 1;
@ -11300,7 +11297,7 @@ mips_ip (char *str, struct mips_cl_insn *ip)
while (imm->type && imm->type != *args)
++imm;
if (! imm->type)
internalError ();
abort ();
my_getExpression (&imm_expr, s);
check_absolute_expr (ip, &imm_expr);
if ((unsigned long) imm_expr.X_add_number & ~imm->mask)
@ -12835,7 +12832,7 @@ mips_ip (char *str, struct mips_cl_insn *ip)
break;
default:
internalError ();
abort ();
}
if (regno == ILLEGAL_REG)
@ -12908,7 +12905,7 @@ mips_ip (char *str, struct mips_cl_insn *ip)
break;
default:
internalError ();
abort ();
}
continue;
@ -13372,7 +13369,7 @@ mips_ip (char *str, struct mips_cl_insn *ip)
default:
as_bad (_("Bad char = '%c'\n"), *args);
internalError ();
abort ();
}
break;
}
@ -13649,7 +13646,7 @@ mips16_ip (char *str, struct mips_cl_insn *ip)
break;
default:
internalError ();
abort ();
}
if (regno == ILLEGAL_REG)
@ -13682,7 +13679,7 @@ mips16_ip (char *str, struct mips_cl_insn *ip)
MIPS16_INSERT_OPERAND (REG32R, *ip, regno);
break;
default:
internalError ();
abort ();
}
lastregno = regno;
@ -14041,7 +14038,7 @@ mips16_ip (char *str, struct mips_cl_insn *ip)
continue;
default:
internalError ();
abort ();
}
break;
}
@ -15852,7 +15849,7 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED)
break;
default:
internalError ();
abort ();
}
/* Remember value for tc_gen_reloc. */