i386-signal.h (INIT_SEGV): Use a direct system call to set the handler.
authorAndrew Haley <aph@redhat.com>
Thu, 15 Feb 2001 19:19:50 +0000 (19:19 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Thu, 15 Feb 2001 19:19:50 +0000 (19:19 +0000)
2001-02-14  Andrew Haley  <aph@redhat.com>

        * include/i386-signal.h (INIT_SEGV): Use a direct system call to
        set the handler.

From-SVN: r39724

libjava/ChangeLog
libjava/include/i386-signal.h

index ecf60575f1918d8765ebf0f4e0ffe7773dd163b8..51557e0badf9bc83f7f041453ab78707383ee502 100644 (file)
@@ -1,3 +1,8 @@
+2001-02-14  Andrew Haley  <aph@redhat.com>
+
+       * include/i386-signal.h (INIT_SEGV): Use a direct system call to
+       set the handler.
+
 2001-02-15  Anthony Green  <green@redhat.com>
 
        * defineclass.cc: Don't include alloca.h.
index de2e39cdbc237a88d9936d9afa00ccda941590a1..dc3c1122c51c85affbe0d261cfc9c8875b2193f2 100644 (file)
@@ -128,7 +128,7 @@ do                                                          \
     act.sa_handler = catch_segv;                               \
     sigemptyset (&act.sa_mask);                                        \
     act.sa_flags = 0;                                          \
-    __sigaction (SIGSEGV, &act, NULL);                         \
+    syscall (SYS_sigaction, SIGSEGV, &act, NULL);              \
   }                                                            \
 while (0)