about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorRajalakshmi Srinivasaraghavan <rajis@linux.ibm.com>2022-12-21 17:48:35 -0600
committerRajalakshmi Srinivasaraghavan <rajis@linux.ibm.com>2022-12-21 17:48:35 -0600
commite2b68828fab4fdfa5595fa89180230cdc4373ec1 (patch)
treebfc9bb6cb3513ce16dc76a737eb5c5641fd980ae /sysdeps/unix
parent161eafec32fbf895b76d81cc23e37c24aa06ba2c (diff)
downloadglibc-e2b68828fab4fdfa5595fa89180230cdc4373ec1.tar.gz
glibc-e2b68828fab4fdfa5595fa89180230cdc4373ec1.tar.xz
glibc-e2b68828fab4fdfa5595fa89180230cdc4373ec1.zip
powerpc64: Increase SIGSTKSZ and MINSIGSTKSZ
This patch increases the value of SIGSTKSZ and MINSIGSTKSZ
for powerpc64 similar to the kernel commit
2f82ec19757f58549467db568c56e7dfff8af283 to allow
further expansion of the signal stack frame size.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h b/sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
index abc87cd7a6..4bff1fe1e7 100644
--- a/sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
+++ b/sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
@@ -23,10 +23,15 @@
 # error "Never include this file directly.  Use <signal.h> instead"
 #endif
 
+#ifdef __powerpc64__
+#define MINSIGSTKSZ	8192
+#define SIGSTKSZ	32768
+#else
 /* Minimum stack size for a signal handler.  */
 #define MINSIGSTKSZ	4096
 
 /* System default stack size.  */
 #define SIGSTKSZ	16384
+#endif
 
 #endif /* bits/sigstack.h */