From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1969) id E7DF23858D1E; Wed, 21 Dec 2022 23:51:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E7DF23858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1671666683; bh=awSXL3H9qngvXimKgFESbrrBV8L+8799kypr4yA7xbY=; h=From:To:Subject:Date:From; b=Fj8vAyNOZXDIauQrh355Knnwt2T1GGEVWjSvcOXAy99EW/vSKwWGnqPWaDxMoTQfC M+3oVH4yznjBczIhLh1Mxy0Q4h+J3ZRV7kwu6GgwObVeIyq0cMl3pN5eWU/uXb5JUz QReRcmxK5ywjmhXjFKL+HbOZ141ld5MNC5/pbrMc= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Rajalakshmi Srinivasaraghavan To: glibc-cvs@sourceware.org Subject: [glibc] powerpc64: Increase SIGSTKSZ and MINSIGSTKSZ X-Act-Checkin: glibc X-Git-Author: Rajalakshmi Srinivasaraghavan X-Git-Refname: refs/heads/master X-Git-Oldrev: 161eafec32fbf895b76d81cc23e37c24aa06ba2c X-Git-Newrev: e2b68828fab4fdfa5595fa89180230cdc4373ec1 Message-Id: <20221221235123.E7DF23858D1E@sourceware.org> Date: Wed, 21 Dec 2022 23:51:23 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e2b68828fab4fdfa5595fa89180230cdc4373ec1 commit e2b68828fab4fdfa5595fa89180230cdc4373ec1 Author: Rajalakshmi Srinivasaraghavan 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 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 */