* [musl] [PATCH] riscv64: define ELF_NFPREG
@ 2021-02-11 17:27 Drew DeVault
2021-02-11 18:09 ` Khem Raj
0 siblings, 1 reply; 5+ messages in thread
From: Drew DeVault @ 2021-02-11 17:27 UTC (permalink / raw)
To: musl; +Cc: Drew DeVault
---
arch/riscv64/bits/user.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/riscv64/bits/user.h b/arch/riscv64/bits/user.h
index 2da743ea..0d37de0b 100644
--- a/arch/riscv64/bits/user.h
+++ b/arch/riscv64/bits/user.h
@@ -1,5 +1,6 @@
#include <signal.h>
#define ELF_NGREG 32
+#define ELF_NFPREG 33
typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
typedef union __riscv_mc_fp_state elf_fpregset_t;
--
2.30.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [musl] [PATCH] riscv64: Define ELF_NFPREG
@ 2021-01-11 17:40 Khem Raj
0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2021-01-11 17:40 UTC (permalink / raw)
To: musl; +Cc: Khem Raj
ELF_NFPREG is used by some userspace applications like gdb
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
arch/riscv64/bits/user.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/riscv64/bits/user.h b/arch/riscv64/bits/user.h
index 2da743ea..0d37de0b 100644
--- a/arch/riscv64/bits/user.h
+++ b/arch/riscv64/bits/user.h
@@ -1,5 +1,6 @@
#include <signal.h>
#define ELF_NGREG 32
+#define ELF_NFPREG 33
typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
typedef union __riscv_mc_fp_state elf_fpregset_t;
--
2.30.0
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-02-12 2:21 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-11 17:27 [musl] [PATCH] riscv64: define ELF_NFPREG Drew DeVault
2021-02-11 18:09 ` Khem Raj
2021-02-11 18:13 ` Drew DeVault
2021-02-12 2:21 ` Rich Felker
-- strict thread matches above, loose matches on Subject: below --
2021-01-11 17:40 [musl] [PATCH] riscv64: Define ELF_NFPREG 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).