about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2023-10-19 15:12:09 +0000
committerJoseph Myers <joseph@codesourcery.com>2023-10-19 15:12:09 +0000
commit1c1083a3e48240866cfac595a2d60dfb1e8a1bf1 (patch)
tree9d1a6d08526ddf30adc6704adde64f0027e832cd
parent97a58d885b01ecf432e0d96248556245a232597e (diff)
downloadglibc-1c1083a3e48240866cfac595a2d60dfb1e8a1bf1.tar.gz
glibc-1c1083a3e48240866cfac595a2d60dfb1e8a1bf1.tar.xz
glibc-1c1083a3e48240866cfac595a2d60dfb1e8a1bf1.zip
Add NT_PPC_DEXCR and NT_PPC_HASHKEYR from Linux 6.5 to elf.h
Linux 6.5 adds constants NT_PPC_DEXCR and NT_PPC_HASHKEYR.  Add these
to glibc's elf.h.

Tested for x86_64.
-rw-r--r--elf/elf.h2
1 files changed, 2 insertions, 0 deletions
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 */