2009-09-03 Jie Zhang <jie.zhang@analog.com>
+ * config/tc-bfin.c (md_parse_option): Call as_fatal for bad
+ -mcpu= option.
+
+2009-09-03 Jie Zhang <jie.zhang@analog.com>
+
* config/bfin-lex.l: Remove V as STATUS_REG.
2009-09-03 Jie Zhang <jie.zhang@analog.com>
}
if (p == NULL)
- {
- error ("-mcpu=%s is not valid", arg);
- return 0;
- }
+ as_fatal ("-mcpu=%s is not valid", arg);
bfin_cpu_type = bfin_cpus[i].type;
|| si_major > 0xff || si_minor > 0xff)
{
invalid_silicon_revision:
- error ("-mcpu=%s has invalid silicon revision", arg);
- return 0;
+ as_fatal ("-mcpu=%s has invalid silicon revision", arg);
}
bfin_si_revision = (si_major << 8) | si_minor;