summaryrefslogtreecommitdiff
path: root/gas/config/obj-coff.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/obj-coff.c
parent28d3e4a3f8aa6dbded562b67cedb3ad15474565d (diff)
downloadbinutils-gdb-460531dad97cd6bd25c62087dd111d1dfe4d20b9.tar.gz
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/obj-coff.c')
-rw-r--r--gas/config/obj-coff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c
index 589161600a6..960dcfd500b 100644
--- a/gas/config/obj-coff.c
+++ b/gas/config/obj-coff.c
@@ -2789,7 +2789,7 @@ write_object_file ()
if (abfd == 0)
{
as_perror ("FATAL: Can't create %s", out_file_name);
- exit (42);
+ exit (EXIT_FAILURE);
}
bfd_set_format (abfd, bfd_object);
bfd_set_arch_mach (abfd, BFD_ARCH, machine);