powerpc64: Increase SIGSTKSZ and MINSIGSTKSZ
authorRajalakshmi Srinivasaraghavan <rajis@linux.ibm.com>
Wed, 21 Dec 2022 23:48:35 +0000 (17:48 -0600)
committerRajalakshmi Srinivasaraghavan <rajis@linux.ibm.com>
Wed, 21 Dec 2022 23:48:35 +0000 (17:48 -0600)
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.

sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h

index abc87cd..4bff1fe 100644 (file)
 # 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 */