From 5f904722f6d0cd8099dd94cef43892bd87997555 Mon Sep 17 00:00:00 2001 From: Serge Lamikhov-Center <to_serge@users.sourceforge.net> Date: Sat, 8 Aug 2020 08:23:25 -0700 Subject: [PATCH] New machine numbers added --- elfio/elf_types.hpp | 4 ++++ elfio/elfio_dynamic.hpp | 2 +- elfio/elfio_note.hpp | 2 +- elfio/elfio_relocation.hpp | 2 +- elfio/elfio_strings.hpp | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/elfio/elf_types.hpp b/elfio/elf_types.hpp index 63d025a..7ea1c5c 100644 --- a/elfio/elf_types.hpp +++ b/elfio/elf_types.hpp @@ -314,6 +314,10 @@ typedef uint64_t Elf64_Off; #define EM_CEVA 245 // CEVA Processor Architecture Family #define EM_CEVA_X2 246 // CEVA X2 Processor Family #define EM_BPF 247 // Linux BPF – in-kernel virtual machine +#define EM_GRAPHCORE_IPU 248 // Graphcore Intelligent Processing Unit +#define EM_IMG1 249 // Imagination Technologies +#define EM_NFP 250 // Netronome Flow Processor (P) +#define EM_CSKY 252 // C-SKY processor family // File version #define EV_NONE 0 diff --git a/elfio/elfio_dynamic.hpp b/elfio/elfio_dynamic.hpp index 42f2680..3d35381 100644 --- a/elfio/elfio_dynamic.hpp +++ b/elfio/elfio_dynamic.hpp @@ -249,7 +249,7 @@ class dynamic_section_accessor_template S* dynamic_section; }; -using dynamic_section_accessor = dynamic_section_accessor_template<section>; +using dynamic_section_accessor = dynamic_section_accessor_template<section>; using const_dynamic_section_accessor = dynamic_section_accessor_template<const section>; } // namespace ELFIO diff --git a/elfio/elfio_note.hpp b/elfio/elfio_note.hpp index 06b2817..34b1de3 100644 --- a/elfio/elfio_note.hpp +++ b/elfio/elfio_note.hpp @@ -164,7 +164,7 @@ class note_section_accessor_template std::vector<Elf_Xword> note_start_positions; }; -using note_section_accessor = note_section_accessor_template<section>; +using note_section_accessor = note_section_accessor_template<section>; using const_note_section_accessor = note_section_accessor_template<const section>; } // namespace ELFIO diff --git a/elfio/elfio_relocation.hpp b/elfio/elfio_relocation.hpp index 238598e..2d2b3ee 100644 --- a/elfio/elfio_relocation.hpp +++ b/elfio/elfio_relocation.hpp @@ -365,7 +365,7 @@ class relocation_section_accessor_template S* relocation_section; }; -using relocation_section_accessor = relocation_section_accessor_template<section>; +using relocation_section_accessor = relocation_section_accessor_template<section>; using const_relocation_section_accessor = relocation_section_accessor_template<const section>; } // namespace ELFIO diff --git a/elfio/elfio_strings.hpp b/elfio/elfio_strings.hpp index 552f000..702d82f 100644 --- a/elfio/elfio_strings.hpp +++ b/elfio/elfio_strings.hpp @@ -92,7 +92,7 @@ class string_section_accessor_template S* string_section; }; -using string_section_accessor = string_section_accessor_template<section>; +using string_section_accessor = string_section_accessor_template<section>; using const_string_section_accessor = string_section_accessor_template<const section>; } // namespace ELFIO -- GitLab