diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-08-13 18:07:16 -0700 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-08-13 22:05:38 -0400 |
commit | 29e8737f81ccc9fbadcf61a75318aa3d0516aafa (patch) | |
tree | 1a018eecb505b8b5f799186fce0ec6cdba86efc1 | |
parent | 9d35fec9e1f391d56faee20b868ef4114bcc4d8a (diff) | |
download | musl-29e8737f81ccc9fbadcf61a75318aa3d0516aafa.tar.gz musl-29e8737f81ccc9fbadcf61a75318aa3d0516aafa.tar.bz2 musl-29e8737f81ccc9fbadcf61a75318aa3d0516aafa.tar.xz musl-29e8737f81ccc9fbadcf61a75318aa3d0516aafa.zip |
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
-rw-r--r-- | arch/riscv64/bits/user.h | 8 |
1 files changed, 8 insertions, 0 deletions
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; |