[PATCH v2 2/2] Propagate NT_RISCV_VECTOR from Linux kernel headers to binutils. The value is identical to pre-existing NT_RISCV_CSR but the note names different (NT_RISCV_CSR is "GDB" and NT_RISCV_VECTOR is "CORE")

Greg Savin greg.savin@sifive.com
Thu Aug 10 22:11:22 GMT 2023


---
 include/elf/common.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/elf/common.h b/include/elf/common.h
index e7eede23a07..d28f5c6ccf5 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -715,6 +715,8 @@
 					/*   note name must be "CORE".  */
 #define NT_RISCV_CSR    0x900		/* RISC-V Control and Status Registers */
 					/*   note name must be "GDB".  */
+#define NT_RISCV_VECTOR 0x900		/* RISC-V Vector Registers */
+					/*   note name must be "CORE".  */
 #define NT_SIGINFO	0x53494749	/* Fields of siginfo_t.  */
 #define NT_FILE		0x46494c45	/* Description of mapped files.  */
 
-- 
2.25.1



More information about the Binutils mailing list