* Add NT_PPC_DEXCR and NT_PPC_HASHKEYR from Linux 6.5 to elf.h
@ 2023-10-16 22:26 Joseph Myers
2023-10-19 14:04 ` Adhemerval Zanella Netto
0 siblings, 1 reply; 2+ messages in thread
From: Joseph Myers @ 2023-10-16 22:26 UTC (permalink / raw)
To: libc-alpha
Linux 6.5 adds constants NT_PPC_DEXCR and NT_PPC_HASHKEYR. Add these
to glibc's elf.h.
Tested for x86_64.
diff --git a/elf/elf.h b/elf/elf.h
index 7b4a8fe43e..73a64baa79 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -791,6 +791,8 @@ typedef struct
Register */
#define NT_PPC_PKEY 0x110 /* Memory Protection Keys
registers. */
+#define NT_PPC_DEXCR 0x111 /* PowerPC DEXCR registers. */
+#define NT_PPC_HASHKEYR 0x112 /* PowerPC HASHKEYR register. */
#define NT_386_TLS 0x200 /* i386 TLS slots (struct user_desc) */
#define NT_386_IOPERM 0x201 /* x86 io permission bitmap (1=deny) */
#define NT_X86_XSTATE 0x202 /* x86 extended state using xsave */
--
Joseph S. Myers
joseph@codesourcery.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Add NT_PPC_DEXCR and NT_PPC_HASHKEYR from Linux 6.5 to elf.h
2023-10-16 22:26 Add NT_PPC_DEXCR and NT_PPC_HASHKEYR from Linux 6.5 to elf.h Joseph Myers
@ 2023-10-19 14:04 ` Adhemerval Zanella Netto
0 siblings, 0 replies; 2+ messages in thread
From: Adhemerval Zanella Netto @ 2023-10-19 14:04 UTC (permalink / raw)
To: Joseph Myers, libc-alpha
On 16/10/23 19:26, Joseph Myers wrote:
> Linux 6.5 adds constants NT_PPC_DEXCR and NT_PPC_HASHKEYR. Add these
> to glibc's elf.h.
>
> Tested for x86_64.
LGTM, thanks.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
>
> diff --git a/elf/elf.h b/elf/elf.h
> index 7b4a8fe43e..73a64baa79 100644
> --- a/elf/elf.h
> +++ b/elf/elf.h
> @@ -791,6 +791,8 @@ typedef struct
> Register */
> #define NT_PPC_PKEY 0x110 /* Memory Protection Keys
> registers. */
> +#define NT_PPC_DEXCR 0x111 /* PowerPC DEXCR registers. */
> +#define NT_PPC_HASHKEYR 0x112 /* PowerPC HASHKEYR register. */
> #define NT_386_TLS 0x200 /* i386 TLS slots (struct user_desc) */
> #define NT_386_IOPERM 0x201 /* x86 io permission bitmap (1=deny) */
> #define NT_X86_XSTATE 0x202 /* x86 extended state using xsave */
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-19 14:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-16 22:26 Add NT_PPC_DEXCR and NT_PPC_HASHKEYR from Linux 6.5 to elf.h Joseph Myers
2023-10-19 14:04 ` Adhemerval Zanella Netto
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 read-only IMAP folder(s) and NNTP newsgroup(s).