aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mips.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-09-13 23:07:48 +0000
committerKen Raeburn <raeburn@cygnus>1994-09-13 23:07:48 +0000
commit460531dad97cd6bd25c62087dd111d1dfe4d20b9 (patch)
tree3ace4f91ccc4335ac10aad64b58afc3f8e519e49 /gas/config/tc-mips.c
parent28d3e4a3f8aa6dbded562b67cedb3ad15474565d (diff)
downloadgdb-460531dad97cd6bd25c62087dd111d1dfe4d20b9.zip
gdb-460531dad97cd6bd25c62087dd111d1dfe4d20b9.tar.gz
gdb-460531dad97cd6bd25c62087dd111d1dfe4d20b9.tar.bz2
Use EXIT_SUCCESS and EXIT_FAILURE in all exit calls.
Use exit rather than returning from main, for consistency on VMS. Call as_fatal instead of as_bad or as_warn followed by exit.
Diffstat (limited to 'gas/config/tc-mips.c')
-rw-r--r--gas/config/tc-mips.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 510e114..4033c4d 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -4132,8 +4132,7 @@ mips_ip (str, ip)
break;
default:
- as_warn ("Unknown opcode: `%s'", str);
- exit (1);
+ as_fatal ("Unknown opcode: `%s'", str);
}
if ((insn = (struct mips_opcode *) hash_find (op_hash, str)) == NULL)
{