3 * sigsegv_leave_handler is changed. Previously it was a normal function with
4 no arguments. Now it is a function that take a non-returning continuation
5 function and three arguments for it as arguments.
6 Where you had code like
7 int my_handler(void* fault_address, int serious)
10 sigsegv_leave_handler();
15 void my_handler_tail(void* arg1, void* arg2, void* arg3)
20 int my_handler(void* fault_address, int serious)
23 #if LIBSIGSEGV_VERSION >= 0x0206
24 return sigsegv_leave_handler(my_handler_tail, arg, NULL, NULL);
26 sigsegv_leave_handler();
27 my_handler_tail(arg, NULL, NULL);
32 * sigsegv_leave_handler now works correctly on MacOS X.
33 * Support for 64-bit ABI on MacOS X 10.5.
34 * Support for building universal binaries on MacOS X.
35 * Improved distinction between stack overflow and other fault on NetBSD,
36 OpenBSD, FreeBSD, Linux, AIX, Solaris. Contributed by Eric Blake.
37 * GNU gnulib now has an autoconf macro for locating libsigsegv:
38 http://www.gnu.org/software/gnulib/MODULES.html#module=libsigsegv
42 * Support for MacOS X 10.5.
46 * Support for GCC 4 on more platforms.
47 * Added support for catching stack overflow on NetBSD.
48 * Improved support for catching stack overflow on Linux, Solaris:
49 Works also when /proc is not mounted or lacks read permissions.
53 * Support for GCC 4 on some platforms contributed by Paolo Bonzini.
54 * Support for MacOS X i386 contributed by Bruno Haible.
55 * Improved support for Woe32 contributed by Doug Currie.
59 * Support for new versions of MacOS X contributed by Paolo Bonzini.
60 * Improved support for AIX 5, contributed by Bruno Haible.
64 * Support for MacOS X contributed by Paolo Bonzini.
65 * Support for Cygwin contributed by Paolo Bonzini.
66 * Support for Linux/ia64 and Linux/hppa contributed by Bruno Haible.
67 * Support for OpenBSD/i386 contributed by Bruno Haible.
68 * Support for NetBSD/alpha contributed by Paolo Bonzini.
72 * Modernized infrastructure.
73 * Added support for catching stack overflow on AIX 4, HP-UX, and BeOS.
74 * Dropped support for NeXTstep.
75 * The function sigsegv_leave_handler() no longer restores the signal mask.
76 This must now be done by the calling handler (either through sigprocmask
77 or through siglongjmp).
81 * Support for HP-UX contributed by Paolo Bonzini.
85 * Catching stack overflow now works on some Unix systems:
86 - Linux 2.2.x with glibc-2.1,