mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 18:20:51 +08:00
i386-signal.h (INIT_SEGV): Use a direct system call to set the handler.
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
This commit is contained in:
parent
3af64fd603
commit
6472877ae0
@ -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.
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user