From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7891) id B96033854143; Fri, 29 Jul 2022 01:23:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B96033854143 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Yinyu Cai To: glibc-cvs@sourceware.org Subject: [glibc] LoongArch: Add greg_t and gregset_t. X-Act-Checkin: glibc X-Git-Author: caiyinyu X-Git-Refname: refs/heads/master X-Git-Oldrev: 033e76ea9c39def3473bbfb31438a59168f3f3d7 X-Git-Newrev: bce0218d9a8355f82f76543fc4acdc721e22dcd6 Message-Id: <20220729012304.B96033854143@sourceware.org> Date: Fri, 29 Jul 2022 01:23:04 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2022 01:23:04 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=bce0218d9a8355f82f76543fc4acdc721e22dcd6 commit bce0218d9a8355f82f76543fc4acdc721e22dcd6 Author: caiyinyu Date: Thu Jul 28 03:25:40 2022 +0800 LoongArch: Add greg_t and gregset_t. Diff: --- sysdeps/unix/sysv/linux/loongarch/sys/ucontext.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sysdeps/unix/sysv/linux/loongarch/sys/ucontext.h b/sysdeps/unix/sysv/linux/loongarch/sys/ucontext.h index e334a45a44..db86380d55 100644 --- a/sysdeps/unix/sysv/linux/loongarch/sys/ucontext.h +++ b/sysdeps/unix/sysv/linux/loongarch/sys/ucontext.h @@ -38,6 +38,9 @@ #define LARCH_REG_S2 25 #define LARCH_REG_NARGS 8 +typedef unsigned long int greg_t; +/* Container for all general registers. */ +typedef greg_t gregset_t[32]; #endif typedef struct mcontext_t