From: Andrew Haley Date: Thu, 15 Feb 2001 19:19:50 +0000 (+0000) Subject: i386-signal.h (INIT_SEGV): Use a direct system call to set the handler. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6472877ae038f76cc510ea2105ab4238d033bd27;p=gcc.git 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 --- 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)