libelf: Sync elf.h from glibc.

There is now finally a PT_GNU_PROPERTY define.
Also EM_ARC_COMPACT2 got renamed to EM_ARCV2.

Signed-off-by: Mark Wielaard <mark@klomp.org>
This commit is contained in:
Mark Wielaard
2020-06-04 16:38:22 +02:00
parent c950815960
commit 39f22a7687
8 changed files with 121 additions and 15 deletions
+5
View File
@@ -1,3 +1,8 @@
2020-06-04 Mark Wielaard <mark@klomp.org>
* dwelf_elf_e_machine_string.c (dwelf_elf_e_machine_string):
Rename EM_ARC_COMPACT2 to EM_ARCV2.
2019-08-12 Mark Wielaard <mark@klomp.org>
* libdwelf.h (dwelf_elf_begin): Update documentation.
+2 -2
View File
@@ -340,8 +340,8 @@ dwelf_elf_e_machine_string (int machine)
return "KIPO-KAIST Core-A 1st gen";
case EM_COREA_2ND:
return "KIPO-KAIST Core-A 2nd gen";
case EM_ARC_COMPACT2:
return "Synopsys ARCompact V2";
case EM_ARCV2:
return "Synopsys ARCv2 ISA";
case EM_OPEN8:
return "Open8 RISC";
case EM_RL78: