From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 32099 invoked from network); 22 Mar 2022 19:03:39 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 22 Mar 2022 19:03:39 -0000 Received: (qmail 32678 invoked by uid 550); 22 Mar 2022 19:03:37 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 32646 invoked from network); 22 Mar 2022 19:03:36 -0000 Date: Tue, 22 Mar 2022 15:03:24 -0400 From: Rich Felker To: musl@lists.openwall.com Message-ID: <20220322190323.GD7074@brightrain.aerifal.cx> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [musl] add loongarch64 port On Tue, Mar 22, 2022 at 11:52:35AM +0800, 王洪亮 wrote: > diff --git a/arch/loongarch64/bits/signal.h b/arch/loongarch64/bits/signal.h > new file mode 100644 > index 00000000..a28ec91a > --- /dev/null > +++ b/arch/loongarch64/bits/signal.h > @@ -0,0 +1,79 @@ > [...] > +#define _NSIG 64 It was also pointed out to me that this is likely wrong. _NSIG needs to be 1 plus the last signal number, so 65 if there are 64 signals like most archs have. Or, if you kept the mips weirdness, 128 (since mips has 127 signals). Rich