* [musl] [PATCH] riscv64: Define ELF_NFPREG
@ 2021-01-11 17:40 Khem Raj
0 siblings, 0 replies; only message 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] only message in thread
only message in thread, other threads:[~2021-01-11 17:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-11 17:40 [musl] [PATCH] riscv64: Define ELF_NFPREG Khem Raj
mailing list of musl libc
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://inbox.vuxu.org/musl
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V1 musl musl/ http://inbox.vuxu.org/musl \
musl@inbox.vuxu.org
public-inbox-index musl
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://inbox.vuxu.org/vuxu.archive.musl
code repositories for the project(s) associated with this inbox:
https://git.vuxu.org/mirror/musl/
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git