]> git.ipfire.org Git - thirdparty/glibc.git/commit
nptl: Fix cleanups for stack grows up [BZ# 28899]
authorJohn David Anglin <danglin@gcc.gnu.org>
Mon, 28 Feb 2022 15:47:38 +0000 (15:47 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sun, 6 Mar 2022 16:00:52 +0000 (16:00 +0000)
commit40fc6a74ee3dd600c84d311d91cbb16962f11a71
tree0bb048db8a230c945062cc138ec41665050b59bc
parentf610d2935f041c5f41ddcb96924ea42ca2fb5ea5
nptl: Fix cleanups for stack grows up [BZ# 28899]

_STACK_GROWS_DOWN is defined to 0 when the stack grows up.  The
code in unwind.c used `#ifdef _STACK_GROWS_DOWN' to selct the
stack grows down define for FRAME_LEFT.  As a result, the
_STACK_GROWS_DOWN define was always selected and cleanups were
incorrectly sequenced when the stack grows up.

(cherry picked from commit 2bbc694df279020a6620096d31c1e05c93966f9b)
nptl/unwind.c