summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2015-06-22 04:10:55 +0300
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-23 21:40:54 +0200
commitf3a8267dabab20b095abe36e4a2be14ccc34b38e (patch)
treedbe704d9abc19aaf58f99a6436b46323ebeaa315 /libc/sysdeps
parentd551a039ad443e1ba1c29461b43ca865785fbb68 (diff)
xtensa: fix stack frame size for NPTL
Cancellable syscalls use call8 to call functions that enable/disable cancellation, thus they cannot use the default FRAMESIZE. Redefine FRAMESIZE for such syscalls. This fixes the following testsuite failure: .... tst-mqueue8 FAIL tst-mqueue8 got 1 expected 0 going to cancel mq_receive in-time in-time mq_receive cancellation succeeded going to cancel mq_receive early Didn't expect signal from child: got `Segmentation fault' Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/xtensa/sysdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/xtensa/sysdep.h b/libc/sysdeps/linux/xtensa/sysdep.h
index cab4a2f8d..d674084e2 100644
--- a/libc/sysdeps/linux/xtensa/sysdep.h
+++ b/libc/sysdeps/linux/xtensa/sysdep.h
@@ -72,7 +72,9 @@
#define JUMPTARGET(name) name
#endif
+#ifndef FRAMESIZE
#define FRAMESIZE 16
+#endif
#define CALL_MCOUNT /* Do nothing. */