From: Khem Raj Date: Wed, 14 Aug 2019 01:07:16 +0000 (-0700) Subject: re-add ELF gregs and fpregs types to riscv64 user.h X-Git-Tag: v1.1.24~37 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=29e8737f81ccc9fbadcf61a75318aa3d0516aafa;p=oweals%2Fmusl.git re-add ELF gregs and fpregs types to riscv64 user.h d493206de7df4db07ad34f24701539ba0a6ed38c deleted all the content of user.h, but sys/procfs.h expects this from sys/user.h threfore we retain the non conflicting parts --- diff --git a/arch/riscv64/bits/user.h b/arch/riscv64/bits/user.h index e69de29b..d2e383b2 100644 --- a/arch/riscv64/bits/user.h +++ b/arch/riscv64/bits/user.h @@ -0,0 +1,8 @@ +struct user_fpregs_struct { + double f[32]; + unsigned int fcsr; +}; + +#define ELF_NGREG 32 +typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG]; +typedef struct user_fpregs_struct elf_fpregset_t;