mailing list of musl libc
 help / color / mirror / code / Atom feed
* [PATCH] Define ELF gregs and fpregs types for riscv64
@ 2019-08-14  1:07 Khem Raj
  0 siblings, 0 replies; only message in thread
From: Khem Raj @ 2019-08-14  1:07 UTC (permalink / raw)
  To: musl; +Cc: Khem Raj

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 | 8 ++++++++
 1 file changed, 8 insertions(+)

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;
-- 
2.22.0



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-14  1:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-14  1:07 [PATCH] Define ELF gregs and fpregs types for riscv64 Khem Raj

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).