stdlib/tst-setcontext.c: Check for clobbering of signal stack
commite04a4e9d2e639a7770e1c0d24ecbcf92abf6bba8
authorWill Newton <will.newton@linaro.org>
Tue, 25 Feb 2014 14:29:32 +0000 (25 14:29 +0000)
committerWill Newton <will.newton@linaro.org>
Thu, 17 Apr 2014 10:39:50 +0000 (17 11:39 +0100)
treedc57034fa71ff8f0701d8a1f4ad9a584f2ae0c77
parent37d350073888887637aa67dddf988d9c4b226032
stdlib/tst-setcontext.c: Check for clobbering of signal stack

On aarch64 calling swapcontext clobbers the state of the signal
stack (BZ #16629). Check that the address and size of the signal
stack before and after the call to swapcontext remains the same.

ChangeLog:

2014-04-17  Will Newton  <will.newton@linaro.org>

[BZ #16629]
* stdlib/tst-setcontext.c: Include signal.h.
(main): Check that the signal stack before and
after swapcontext is the same.
ChangeLog
stdlib/tst-setcontext.c