diff mbox

libgo/runtime: Fix signal stack size for ia64

Message ID mvmpoopibwk.fsf@hawking.suse.de
State New
Headers show

Commit Message

Andreas Schwab Aug. 31, 2016, 8:24 a.m. UTC
On ia64, MINSIGSTKSZ is 128K.

Andreas.

	* libgo/runtime/runtime.c (runtime_mpreinit): Increase stack size to
	128K.
---
 libgo/runtime/runtime.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/libgo/runtime/runtime.c b/libgo/runtime/runtime.c
index c7d33bc..e8eb957 100644
--- a/libgo/runtime/runtime.c
+++ b/libgo/runtime/runtime.c
@@ -272,7 +272,7 @@  runtime_tickspersecond(void)
 void
 runtime_mpreinit(M *mp)
 {
-	mp->gsignal = runtime_malg(32*1024, (byte**)&mp->gsignalstack, &mp->gsignalstacksize);	// OS X wants >=8K, Linux >=2K
+	mp->gsignal = runtime_malg(128*1024, (byte**)&mp->gsignalstack, &mp->gsignalstacksize);	// OS X wants >=8K, Linux >=2K, ia64 >=128K
 	mp->gsignal->m = mp;
 }