From 6472877ae038f76cc510ea2105ab4238d033bd27 Mon Sep 17 00:00:00 2001 From: Andrew Haley Date: Thu, 15 Feb 2001 19:19:50 +0000 Subject: [PATCH] i386-signal.h (INIT_SEGV): Use a direct system call to set the handler. 2001-02-14 Andrew Haley * include/i386-signal.h (INIT_SEGV): Use a direct system call to set the handler. From-SVN: r39724 --- libjava/ChangeLog | 5 +++++ libjava/include/i386-signal.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index ecf60575f19..51557e0badf 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2001-02-14 Andrew Haley + + * include/i386-signal.h (INIT_SEGV): Use a direct system call to + set the handler. + 2001-02-15 Anthony Green * defineclass.cc: Don't include alloca.h. diff --git a/libjava/include/i386-signal.h b/libjava/include/i386-signal.h index de2e39cdbc2..dc3c1122c51 100644 --- a/libjava/include/i386-signal.h +++ b/libjava/include/i386-signal.h @@ -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) -- 2.30.2