From cbe1f247bd3dbe46e252e601820dbaa93975d17f Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 2 Feb 2024 15:25:32 -0800 Subject: [PATCH] elf.h: add NT_RISCV_ constants from Linux v6.6. See Linux commit 9300f00439743c4a34d735e1a27118eb68a1504e ("RISC-V: Add ptrace support for vectors"). --- include/elf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/elf.h b/include/elf.h index 72d17c3a..6f045eba 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 -- 2.43.0.594.gd9cf4e227d-goog