summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/host-darwin.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-13 18:06:52 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-13 18:06:52 +0000
commitd07c9932fe3d8be3478554d156bf3bf189027339 (patch)
treefd24969394b3b9dffb1cc037cebd35f54276e5b8 /gcc/config/rs6000/host-darwin.c
parenta82984ec82161ff946c0e260660fbbcbdad83b28 (diff)
downloadgcc-d07c9932fe3d8be3478554d156bf3bf189027339.tar.gz
* diagnostic.c (output_format): Add support for %m.
(output_printf, output_verbatim, diagnostic_set_info, verbatim): Set err_no field of the text_info structure being initialized. (fatal_io_error): Delete function. * diagnostic.h (text_info): Add err_no field. * toplev.h (fatal_io_error): Delete prototype. * c-opts.c, c-pch.c, dwarfout.c, ggc-common.c, ggc-page.c, graph.c * toplev.c, config/mips/mips.c, config/rs6000/host-darwin.c * f/com.c, java/jcf-parse.c, java/jcf-write.c, java/lex.c * objc/objc-act.c: Replace all calls to fatal_io_error with calls to fatal_error; add ": %m" to the end of all the affected error messages. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66769 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/host-darwin.c')
-rw-r--r--gcc/config/rs6000/host-darwin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/rs6000/host-darwin.c b/gcc/config/rs6000/host-darwin.c
index 8b4eed22afb..294a6544910 100644
--- a/gcc/config/rs6000/host-darwin.c
+++ b/gcc/config/rs6000/host-darwin.c
@@ -128,13 +128,13 @@ darwin_rs6000_extra_signals ()
sigstk.ss_size = SIGSTKSZ;
sigstk.ss_flags = 0;
if (sigaltstack (&sigstk, NULL) < 0)
- fatal_io_error ("While setting up signal stack");
+ fatal_error ("While setting up signal stack: %m");
sigemptyset(&sact.sa_mask);
sact.sa_flags = SA_ONSTACK | SA_SIGINFO;
sact.sa_sigaction = segv_handler;
if (sigaction (SIGSEGV, &sact, 0) < 0)
- fatal_io_error ("While setting up signal handler");
+ fatal_error ("While setting up signal handler: %m");
}
const struct host_hooks host_hooks = HOST_HOOKS_INITIALIZER;