summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-01-11 09:40:33 -0800
committerRich Felker <dalias@aerifal.cx>2021-02-12 22:16:38 -0500
commite5d2823631bbfebacf48e1a34ed28f28d7cb2570 (patch)
treef0fa817beb901342e480f96c1b3ac17c23b976dc
parent964104f9f0e056cf58d9defa0b716d7756f040f6 (diff)
downloadmusl-master.tar.gz
riscv64: define ELF_NFPREGHEADmaster
ELF_NFPREG is used by some userspace applications like gdb
-rw-r--r--arch/riscv64/bits/user.h1
1 files changed, 1 insertions, 0 deletions
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;