mailing list of musl libc
 help / color / mirror / code / Atom feed
From: enh <enh@google.com>
To: musl@lists.openwall.com
Subject: [musl] [PATCH] elf.h: add NT_RISCV_ constants from Linux v6.6.
Date: Fri, 2 Feb 2024 15:35:27 -0800	[thread overview]
Message-ID: <CAJgzZoqFSDeGX=sqHFTyY9BUuw4AMGj-JqYVe+8wN_TWLmu1Qw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 161 bytes --]

See Linux commit 9300f00439743c4a34d735e1a27118eb68a1504e ("RISC-V: Add
ptrace support for vectors").
---
 include/elf.h | 2 ++
 1 file changed, 2 insertions(+)

[-- Attachment #2: 0001-elf.h-add-NT_RISCV_-constants-from-Linux-v6.6.patch --]
[-- Type: text/x-patch, Size: 729 bytes --]

From cbe1f247bd3dbe46e252e601820dbaa93975d17f Mon Sep 17 00:00:00 2001
From: Elliott Hughes <enh@google.com>
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


                 reply	other threads:[~2024-02-02 23:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJgzZoqFSDeGX=sqHFTyY9BUuw4AMGj-JqYVe+8wN_TWLmu1Qw@mail.gmail.com' \
    --to=enh@google.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).