public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] powerpc64: Increase SIGSTKSZ and MINSIGSTKSZ
@ 2022-12-21 23:51 Rajalakshmi Srinivasaraghavan
0 siblings, 0 replies; only message in thread
From: Rajalakshmi Srinivasaraghavan @ 2022-12-21 23:51 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e2b68828fab4fdfa5595fa89180230cdc4373ec1
commit e2b68828fab4fdfa5595fa89180230cdc4373ec1
Author: Rajalakshmi Srinivasaraghavan <rajis@linux.ibm.com>
Date: Wed Dec 21 17:48:35 2022 -0600
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.
Diff:
---
sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h | 5 +++++
1 file changed, 5 insertions(+)
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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-21 23:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-21 23:51 [glibc] powerpc64: Increase SIGSTKSZ and MINSIGSTKSZ Rajalakshmi Srinivasaraghavan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).