diff options
author | caiyinyu <caiyinyu@loongson.cn> | 2022-07-28 03:25:40 +0800 |
---|---|---|
committer | caiyinyu <caiyinyu@loongson.cn> | 2022-07-29 09:15:21 +0800 |
commit | bce0218d9a8355f82f76543fc4acdc721e22dcd6 (patch) | |
tree | 64dcae464212e27aaf21d5a296e95979b0d46c5c /sysdeps | |
parent | 033e76ea9c39def3473bbfb31438a59168f3f3d7 (diff) | |
download | glibc-bce0218d9a8355f82f76543fc4acdc721e22dcd6.tar glibc-bce0218d9a8355f82f76543fc4acdc721e22dcd6.tar.gz glibc-bce0218d9a8355f82f76543fc4acdc721e22dcd6.tar.bz2 glibc-bce0218d9a8355f82f76543fc4acdc721e22dcd6.zip |
LoongArch: Add greg_t and gregset_t.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/loongarch/sys/ucontext.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |