c-stack: stop worrying about stack direction
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 Jun 2011 21:59:13 +0000 (14:59 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 Jun 2011 22:14:58 +0000 (15:14 -0700)
commit3c4ad6125cf33faf3cc090b4232d35f3866b9799
treeee2ab39310dbfab4e2a1f9ee9a97f5beeec9c4ca
parentd80aff0ae74993962a24f205a356ffae59eab5be
c-stack: stop worrying about stack direction

* lib/c-stack.c (find_stack_direction): Remove.
(segv_handler): Don't worry about stack direction growth, as it's
too much of a pain to configure this correctly, given how compilers
are optimizing-away our stack-growth detection code.  Instead, assume
that any access to just before or just after the stack is OK.
* m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC):
Don't require AC_FUNC_ALLOCA; no longer needed.
ChangeLog
lib/c-stack.c
m4/c-stack.m4