e14304eff5
libgcc/: * generic-morestack.c: Include <string.h>. (uintptr_type): Define. (struct initial_sp): Add dont_block_signals field. Reduce size of extra array by 1. (allocate_segment): Set prev field to NULL. Don't set __morestack_current_segment or __morestack_segments. (__generic_morestack): Update current->prev and *pp after calling allocate_segment. (__morestack_block_signals): Don't do anything if dont_block_signals is set. (__morestack_unblock_signals): Likewise. (__generic_findstack): Check for initial_sp == NULL. Add casts to uintptr_type. (__splitstack_block_signals): New function. (enum __splitstack_content_offsets): Define. (__splitstack_getcontext, __splitstack_setcontext): New functions. (__splitstack_makecontext): New function. (__splitstack_block_signals_context): New function. (__splitstack_find_context): New function. * config/i386/morestack.S (__morestack_get_guard): New function. (__morestack_set_guard, __morestack_make_guard): New functions. * libgcc-std.ver.in: Add new functions to GCC_4.7.0. gcc/testsuite/: * lib/target-supports.exp (check_effective_target_ucontext_h): New procedure. * gcc.dg/split-5.c: New test. From-SVN: r181234 |
||
---|---|---|
.. | ||
32 | ||
64 | ||
crtfastmath.c | ||
crti.S | ||
crtn.S | ||
crtprec.c | ||
cygming-crtbegin.c | ||
cygming-crtend.c | ||
cygwin.S | ||
darwin-lib.h | ||
enable-execute-stack-mingw32.c | ||
gthr-win32.c | ||
gthr-win32.h | ||
libgcc-bsd.ver | ||
libgcc-darwin.10.4.ver | ||
libgcc-darwin.10.5.ver | ||
libgcc-glibc.ver | ||
libgcc-sol2.ver | ||
linux-unwind.h | ||
morestack.S | ||
sfp-machine.h | ||
sol2-c1.S | ||
sol2-unwind.h | ||
t-chkstk | ||
t-crtfm | ||
t-crtpc | ||
t-crtstuff | ||
t-cygming | ||
t-cygwin | ||
t-darwin | ||
t-darwin64 | ||
t-dlldir | ||
t-dlldir-x | ||
t-dw2-eh | ||
t-freebsd | ||
t-gthr-win32 | ||
t-interix | ||
t-linux | ||
t-mingw32 | ||
t-mingw-pthread | ||
t-nto | ||
t-sjlj-eh | ||
t-slibgcc-cygming | ||
t-sol2 | ||
t-stack-i386 | ||
value-unwind.h | ||
w32-unwind.h |