mailing list of musl libc
 help / color / mirror / Atom feed
* [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 <>
 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;

^ 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

	# 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/ \
	public-inbox-index musl

Example config snippet for mirrors.
Newsgroup available over NNTP:

code repositories for the project(s) associated with this inbox:

AGPL code for this site: git clone