]> sourceware.org Git - glibc.git/commitdiff
powerpc: Add values from Linux 4.8 to <elf.h>
authorGustavo Romero <gromero@linux.vnet.ibm.com>
Tue, 15 Aug 2017 13:17:30 +0000 (10:17 -0300)
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Tue, 15 Aug 2017 13:17:30 +0000 (10:17 -0300)
Add powerpc specific note sections available since Linux v4.8.

* elf/elf.h A (NT_PPC_TAR): New macro.
(NT_PPC_PPR): Likewise.
(NT_PPC_DSCR): Likewise.
(NT_PPC_EBB): Likewise.
(NT_PPC_PMU): Likewise.
(NT_PPC_TM_CGPR): Likewise.
(NT_PPC_TM_CFPR): Likewise.
(NT_PPC_TM_CVMX): Likewise.
(NT_PPC_TM_CVSX): Likewise.
(NT_PPC_TM_SPR): Likewise.
(NT_PPC_TM_CTAR): Likewise.
(NT_PPC_TM_CPPR): Likewise.
(NT_PPC_TM_CDSCR): Likewise.

ChangeLog
elf/elf.h

index 8f072e701b7c9cb87cebf6b829acb98ec6d38777..9c987a74ba408c1f7122b1b4bea151c1f3d3f9b6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2017-08-15  Gustavo Romero  <gromero@linux.vnet.ibm.com>
+
+       * elf/elf.h A (NT_PPC_TAR): New macro.
+       (NT_PPC_PPR): Likewise.
+       (NT_PPC_DSCR): Likewise.
+       (NT_PPC_EBB): Likewise.
+       (NT_PPC_PMU): Likewise.
+       (NT_PPC_TM_CGPR): Likewise.
+       (NT_PPC_TM_CFPR): Likewise.
+       (NT_PPC_TM_CVMX): Likewise.
+       (NT_PPC_TM_CVSX): Likewise.
+       (NT_PPC_TM_SPR): Likewise.
+       (NT_PPC_TM_CTAR): Likewise.
+       (NT_PPC_TM_CPPR): Likewise.
+       (NT_PPC_TM_CDSCR): Likewise.
+
 2017-08-15  Florian Weimer  <fweimer@redhat.com>
 
        * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
index 3900b4c9f0cad606a7beb2511c0bb6d603e885ee..84a712606866286525c9fc0ec7e29b7c552e58b0 100644 (file)
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -762,6 +762,22 @@ typedef struct
 #define NT_PPC_VMX     0x100           /* PowerPC Altivec/VMX registers */
 #define NT_PPC_SPE     0x101           /* PowerPC SPE/EVR registers */
 #define NT_PPC_VSX     0x102           /* PowerPC VSX registers */
+#define NT_PPC_TAR     0x103           /* Target Address Register */
+#define NT_PPC_PPR     0x104           /* Program Priority Register */
+#define NT_PPC_DSCR    0x105           /* Data Stream Control Register */
+#define NT_PPC_EBB     0x106           /* Event Based Branch Registers */
+#define NT_PPC_PMU     0x107           /* Performance Monitor Registers */
+#define NT_PPC_TM_CGPR 0x108           /* TM checkpointed GPR Registers */
+#define NT_PPC_TM_CFPR 0x109           /* TM checkpointed FPR Registers */
+#define NT_PPC_TM_CVMX 0x10a           /* TM checkpointed VMX Registers */
+#define NT_PPC_TM_CVSX 0x10b           /* TM checkpointed VSX Registers */
+#define NT_PPC_TM_SPR  0x10c           /* TM Special Purpose Registers */
+#define NT_PPC_TM_CTAR 0x10d           /* TM checkpointed Target Address
+                                          Register */
+#define NT_PPC_TM_CPPR 0x10e           /* TM checkpointed Program Priority
+                                          Register */
+#define NT_PPC_TM_CDSCR        0x10f           /* TM checkpointed Data Stream Control
+                                          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 */
This page took 0.056984 seconds and 5 git commands to generate.