Remove SIGINFO handling from mips.c.
authorKen Raeburn <raeburn@cygnus.com>
Tue, 7 Apr 1998 13:29:03 +0000 (13:29 +0000)
committerKen Raeburn <raeburn@gcc.gnu.org>
Tue, 7 Apr 1998 13:29:03 +0000 (13:29 +0000)
From-SVN: r19033

gcc/ChangeLog
gcc/config/mips/mips.c

index 9d70161c3a6bd20bbc5878ebbafc3191e0f70abe..7c9e20dfe10ff051443a2d95d09877741658c9a5 100644 (file)
@@ -1,3 +1,8 @@
+1998-04-07  Ken Raeburn  <raeburn@cygnus.com>
+
+       * config/mips/mips.c (siginfo): Deleted.
+       (override_options): Don't install SIGINFO signal handler.
+
 Tue Apr  7 11:58:04 1998  Jim Wilson  <wilson@cygnus.com>
 
        * loop.c (check_dbra_loop): When normalize comparison_val, add check
index e2f03f92c96fe1415e1172a94bfad2e2e5e0f02a..4f8f3e5370fc6ed719a4e047d88d2da59d657cf1 100644 (file)
@@ -3968,20 +3968,6 @@ trace (s, s1, s2)
   fprintf (stderr, s, s1, s2);
 }
 
-\f
-#ifdef SIGINFO
-
-static void
-siginfo (signo)
-     int signo;
-{
-  fprintf (stderr, "compiling '%s' in '%s'\n",
-          (current_function_name != (char *)0) ? current_function_name : "<toplevel>",
-          (current_function_file != (char *)0) ? current_function_file : "<no file>");
-  fflush (stderr);
-}
-#endif /* SIGINFO */
-
 \f
 /* Set up the threshold for data to go into the small data area, instead
    of the normal data area, and detect any conflicts in the switches.  */
@@ -4367,19 +4353,6 @@ override_options ()
   else
     mips16 = 0;
 
-  /* If this is OSF/1, set up a SIGINFO handler so we can see what function
-     is currently being compiled.  */
-#ifdef SIGINFO
-  if (getenv ("GCC_SIGINFO") != (char *)0)
-    {
-      struct sigaction action;
-      action.sa_handler = siginfo;
-      action.sa_mask = 0;
-      action.sa_flags = SA_RESTART;
-      sigaction (SIGINFO, &action, (struct sigaction *)0);
-    }
-#endif
-
 #if defined(_IOLBF)
 #if defined(ultrix) || defined(__ultrix) || defined(__OSF1__) || defined(__osf__) || defined(osf)
   /* If -mstats and -quiet, make stderr line buffered.  */