projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d35fec
)
re-add ELF gregs and fpregs types to riscv64 user.h
author
Khem Raj
<raj.khem@gmail.com>
Wed, 14 Aug 2019 01:07:16 +0000
(18:07 -0700)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 14 Aug 2019 02:05:38 +0000
(22:05 -0400)
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
arch/riscv64/bits/user.h
patch
|
blob
|
history
diff --git
a/arch/riscv64/bits/user.h
b/arch/riscv64/bits/user.h
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..d2e383b24e53b9e5ebf99b46986d81cb46ec494d 100644
(file)
--- 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;