summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2024-02-02 15:25:32 -0800
committerRich Felker <dalias@aerifal.cx>2024-02-03 19:48:25 -0500
commit15aa7abd344745675f2df3eb5ea09fa36cfecfa4 (patch)
tree08e7c4c74e0465a374228d06d0656194e077f8c0 /include
parent25c4123629aabbadba6c4190b4f1b5e213ab9e5b (diff)
downloadmusl-15aa7abd344745675f2df3eb5ea09fa36cfecfa4.tar.gz
elf.h: add NT_RISCV_CSR and NT_RISCV_VECTOR constants
See Linux commit 9300f00439743c4a34d735e1a27118eb68a1504e ("RISC-V: Add ptrace support for vectors").
Diffstat (limited to 'include')
-rw-r--r--include/elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/elf.h b/include/elf.h
index ad3519ad..d1ad978e 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -703,6 +703,8 @@ typedef struct {
#define NT_MIPS_DSP 0x800
#define NT_MIPS_FP_MODE 0x801
#define NT_MIPS_MSA 0x802
+#define NT_RISCV_CSR 0x900
+#define NT_RISCV_VECTOR 0x901
#define NT_VERSION 1