gcc/libgcc/config/i386
Ian Lance Taylor e14304eff5 generic-morestack.c: Include <string.h>.
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
2011-11-09 20:06:31 +00:00
..
32 soft-fp: Move to ../libgcc. 2011-08-05 15:13:48 +00:00
64 sfp-machine.h (ASM_INVALID): New define. 2011-08-23 01:13:57 +02:00
crtfastmath.c crtfastmath.c: Move to ../libgcc/config/alpha. 2011-07-13 17:33:38 +00:00
crti.S Use sol2-c[1n].S on more targets 2011-11-04 11:54:17 +00:00
crtn.S Use sol2-c[1n].S on more targets 2011-11-04 11:54:17 +00:00
crtprec.c crtprec.c: Move to ../libgcc/config/i386. 2011-07-13 17:39:35 +00:00
cygming-crtbegin.c Move libgcc_tm_file to toplevel libgcc 2011-11-02 15:26:35 +00:00
cygming-crtend.c Move libgcc_tm_file to toplevel libgcc 2011-11-02 15:26:35 +00:00
cygwin.S Move libgcc1 to toplevel libgcc 2011-11-02 15:03:19 +00:00
darwin-lib.h
enable-execute-stack-mingw32.c netbsd.h (ENABLE_EXECUTE_STACK): Remove. 2011-06-09 12:30:46 +00:00
gthr-win32.c Move gthr to toplevel libgcc 2011-11-02 15:28:43 +00:00
gthr-win32.h Move gthr to toplevel libgcc 2011-11-02 15:28:43 +00:00
libgcc-bsd.ver
libgcc-darwin.10.4.ver Move shlib support to toplevel libgcc 2011-11-02 10:49:46 +00:00
libgcc-darwin.10.5.ver Move shlib support to toplevel libgcc 2011-11-02 10:49:46 +00:00
libgcc-glibc.ver Move shlib support to toplevel libgcc 2011-11-02 10:49:46 +00:00
libgcc-sol2.ver
linux-unwind.h Update x32 __NR_rt_sigreturn system call number. 2011-08-02 21:59:41 -07:00
morestack.S generic-morestack.c: Include <string.h>. 2011-11-09 20:06:31 +00:00
sfp-machine.h soft-fp: Move to ../libgcc. 2011-08-05 15:13:48 +00:00
sol2-c1.S
sol2-unwind.h
t-chkstk Move libgcc1 to toplevel libgcc 2011-11-02 15:03:19 +00:00
t-crtfm crtfastmath.c: Move to ../libgcc/config/alpha. 2011-07-13 17:33:38 +00:00
t-crtpc crtprec.c: Move to ../libgcc/config/i386. 2011-07-13 17:39:35 +00:00
t-crtstuff
t-cygming Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
t-cygwin Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
t-darwin Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
t-darwin64 Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
t-dlldir Move shlib support to toplevel libgcc 2011-11-02 10:49:46 +00:00
t-dlldir-x Move shlib support to toplevel libgcc 2011-11-02 10:49:46 +00:00
t-dw2-eh Move shlib support to toplevel libgcc 2011-11-02 10:49:46 +00:00
t-freebsd
t-gthr-win32 Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
t-interix Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
t-linux Move shlib support to toplevel libgcc 2011-11-02 10:49:46 +00:00
t-mingw32 Move shlib support to toplevel libgcc 2011-11-02 10:49:46 +00:00
t-mingw-pthread Move shlib support to toplevel libgcc 2011-11-02 10:49:46 +00:00
t-nto Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
t-sjlj-eh Move shlib support to toplevel libgcc 2011-11-02 10:49:46 +00:00
t-slibgcc-cygming Move shlib support to toplevel libgcc 2011-11-02 10:49:46 +00:00
t-sol2 Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
t-stack-i386
value-unwind.h Fix Dwarf unwind library for UNITS_PER_WORD > sizeof (void *) 2011-08-08 06:26:06 -07:00
w32-unwind.h