Add new NT_PPC_* available since Linux 4.8
authorGustavo Romero <gromero@linux.vnet.ibm.com>
Mon, 14 Aug 2017 14:48:04 +0000 (10:48 -0400)
committerAlan Modra <amodra@gmail.com>
Tue, 15 Aug 2017 22:15:28 +0000 (07:45 +0930)
commit66c3b5f87cd9a12be6734587720bde4040819369
tree871c167eecdf46ff3f0c2eaaf8bf7106ef09d43e
parent47613aeb8a42e89e21e63e1dcedfa2cde6791e53
Add new NT_PPC_* available since Linux 4.8

Add new note types available since Linux 4.8 to elf/common.h and
make the 'readelf' tool aware of it.

include/
* elf/common.h (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.
binutils/
* readelf.c (get_note_type): Handle PPC note types available
since Linux 4.8.
binutils/ChangeLog
binutils/readelf.c
include/ChangeLog
include/elf/common.h