riscv64: Define ELF_NFPREG

Submitted by Khem Raj on Jan. 11, 2021, 5:40 p.m.

Details

Message ID 20210111174033.3176585-1-raj.khem@gmail.com
State New
Series "riscv64: Define ELF_NFPREG"
Headers show

Commit Message

Khem Raj Jan. 11, 2021, 5:40 p.m.
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(+)

Patch hide | download patch | download mbox

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;