]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/rs6000/host-darwin.c
Update copyright years.
[thirdparty/gcc.git] / gcc / config / rs6000 / host-darwin.c
index 333f4884e1beb6dcf827512d437847e11f5f2c61..da90e2f645226043cabefe5c71813e272f154c9c 100644 (file)
@@ -1,6 +1,5 @@
 /* Darwin/powerpc host-specific hook definitions.
-   Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
-   Free Software Foundation, Inc.
+   Copyright (C) 2003-2017 Free Software Foundation, Inc.
 
    This file is part of GCC.
 
 #include "config.h"
 #include "system.h"
 #include "coretypes.h"
-#include <signal.h>
+#include "diagnostic.h"
 #include <sys/ucontext.h>
 #include "hosthooks.h"
 #include "hosthooks-def.h"
-#include "toplev.h"
-#include "diagnostic.h"
 #include "config/host-darwin.h"
 
 static void segv_crash_handler (int);
@@ -143,13 +140,13 @@ darwin_rs6000_extra_signals (void)
   sigstk.ss_size = SIGSTKSZ;
   sigstk.ss_flags = 0;
   if (sigaltstack (&sigstk, NULL) < 0)
-    fatal_error ("While setting up signal stack: %m");
+    fatal_error (input_location, "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_error ("While setting up signal handler: %m");
+    fatal_error (input_location, "While setting up signal handler: %m");
 }
 \f