From 054de8e83f92bc49cd71789f1fa3852d907e67d4 Mon Sep 17 00:00:00 2001 From: Leslie Zhai Date: Wed, 11 Dec 2024 15:10:58 +0800 Subject: [LA64] SIGRTMAX is 127 for ABI 1.0 (#2134) * [LA64] SIGRTMAX is 127 for ABI 1.0 * [LA64] Added LARCH64_ABI_1 CMake option * [LA64] Change MAX_SIGNAL to 128 for ABI 1.0 --- src/include/box64context.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/include') diff --git a/src/include/box64context.h b/src/include/box64context.h index ecf60f7f..575348bf 100644 --- a/src/include/box64context.h +++ b/src/include/box64context.h @@ -52,7 +52,11 @@ typedef struct kh_dynablocks_s kh_dynablocks_t; typedef void* (*procaddress_t)(const char* name); typedef void* (*vkprocaddess_t)(void* instance, const char* name); +#ifdef LA64_ABI_1 +#define MAX_SIGNAL 128 +#else #define MAX_SIGNAL 64 +#endif typedef struct tlsdatasize_s { int tlssize; -- cgit 1.4.1