summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-08-13 18:07:16 -0700
committerRich Felker <dalias@aerifal.cx>2019-08-13 22:05:38 -0400
commit29e8737f81ccc9fbadcf61a75318aa3d0516aafa (patch)
tree1a018eecb505b8b5f799186fce0ec6cdba86efc1
parent9d35fec9e1f391d56faee20b868ef4114bcc4d8a (diff)
downloadmusl-29e8737f81ccc9fbadcf61a75318aa3d0516aafa.tar.gz
re-add ELF gregs and fpregs types to riscv64 user.hHEADmaster
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.h8
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;