OSDN Git Service

2001-02-14 Andrew Haley <aph@redhat.com>
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Feb 2001 19:19:50 +0000 (19:19 +0000)
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Feb 2001 19:19:50 +0000 (19:19 +0000)
        * include/i386-signal.h (INIT_SEGV): Use a direct system call to
        set the handler.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39724 138bc75d-0d04-0410-961f-82ee72b054a4

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

index ecf6057..51557e0 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 de2e39c..dc3c112 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)