diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2018-03-09 00:14:27 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2018-03-09 00:14:27 +0100 |
commit | 9aa5c222b9e0409143410a02b6364a3b25dbf028 (patch) | |
tree | cab255c55954064b17343fdb8d5f600b2d289f61 /ChangeLog | |
parent | e921c89e01389161c036ec09112da6e18aeaa688 (diff) | |
download | glibc-9aa5c222b9e0409143410a02b6364a3b25dbf028.tar.gz glibc-9aa5c222b9e0409143410a02b6364a3b25dbf028.tar.xz glibc-9aa5c222b9e0409143410a02b6364a3b25dbf028.zip |
sparc32: Add nop before __startcontext to stop unwinding [BZ #22919]
On sparc32 tst-makecontext fails, as backtrace called within a context created by makecontext to yield infinite backtrace. Fix that the same way than nios2 by adding a nop just before __startcontext. This is needed as otherwise FDE lookup just repeatedly finds __setcontext's FDE in an infinite loop, due to the convention of using 'address - 1' for FDE lookup. Changelog: [BZ #22919] * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext): Add nop before __startcontext, add explaining comments.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index dfb96aa372..054d004b54 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2018-03-09 Aurelien Jarno <aurelien@aurel32.net> + + [BZ #22919] + * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext): + Add nop before __startcontext, add explaining comments. + 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org> [BZ #22926] |