diff options
author | Ian Lance Taylor <iant@google.com> | 2011-11-09 20:06:31 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-11-09 20:06:31 +0000 |
commit | e14304eff546e4ef3dc33e6439d793f999e81c91 (patch) | |
tree | b16db4d1e1ec9a11ee2ee00a183a6daa8b383c59 /libgcc/libgcc-std.ver.in | |
parent | 8ee9fac21ec877d5e0bbcd3460eb584bbeccf836 (diff) | |
download | gcc-e14304eff546e4ef3dc33e6439d793f999e81c91.zip gcc-e14304eff546e4ef3dc33e6439d793f999e81c91.tar.gz gcc-e14304eff546e4ef3dc33e6439d793f999e81c91.tar.bz2 |
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
Diffstat (limited to 'libgcc/libgcc-std.ver.in')
-rw-r--r-- | libgcc/libgcc-std.ver.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libgcc/libgcc-std.ver.in b/libgcc/libgcc-std.ver.in index 2946468..2d66612 100644 --- a/libgcc/libgcc-std.ver.in +++ b/libgcc/libgcc-std.ver.in @@ -1,5 +1,5 @@ # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, -# 2008, 2010 Free Software Foundation, Inc. +# 2008, 2010, 2011 Free Software Foundation, Inc. # # This file is part of GCC. # @@ -1926,4 +1926,10 @@ GCC_4.7.0 { __PFX__clrsbsi2 __PFX__clrsbdi2 __PFX__clrsbti2 + __splitstack_block_signals + __splitstack_getcontext + __splitstack_setcontext + __splitstack_makecontext + __splitstack_block_signals_context + __splitstack_find_context } |