diff options
author | Ken Raeburn <raeburn@cygnus> | 1994-09-13 23:07:48 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1994-09-13 23:07:48 +0000 |
commit | 460531dad97cd6bd25c62087dd111d1dfe4d20b9 (patch) | |
tree | 3ace4f91ccc4335ac10aad64b58afc3f8e519e49 /gas/config/tc-mips.c | |
parent | 28d3e4a3f8aa6dbded562b67cedb3ad15474565d (diff) | |
download | gdb-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.c | 3 |
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) { |