diff options
author | Jie Zhang <jie.zhang@analog.com> | 2009-09-03 18:03:38 +0000 |
---|---|---|
committer | Jie Zhang <jie.zhang@analog.com> | 2009-09-03 18:03:38 +0000 |
commit | 110c21e16577edf29f801c9dc2440d79b545e121 (patch) | |
tree | 536238fc2251a0c416a3247f7e71d8090d67edfc /gas/config | |
parent | c639698b41f8af840c20191ad69e4094a091a59a (diff) | |
download | gdb-110c21e16577edf29f801c9dc2440d79b545e121.zip gdb-110c21e16577edf29f801c9dc2440d79b545e121.tar.gz gdb-110c21e16577edf29f801c9dc2440d79b545e121.tar.bz2 |
* config/tc-bfin.c (md_parse_option): Call as_fatal for bad
-mcpu= option.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-bfin.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gas/config/tc-bfin.c b/gas/config/tc-bfin.c index 6eaf4c7..bd0c699 100644 --- a/gas/config/tc-bfin.c +++ b/gas/config/tc-bfin.c @@ -351,10 +351,7 @@ md_parse_option (int c ATTRIBUTE_UNUSED, char *arg ATTRIBUTE_UNUSED) } 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; @@ -388,8 +385,7 @@ md_parse_option (int c ATTRIBUTE_UNUSED, char *arg ATTRIBUTE_UNUSED) || 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; |