elf.h: add some defines from Linux version

For completeness and compatibility.
This commit is contained in:
Adrien Destugues
2016-08-27 09:10:01 +02:00
parent 6980817672
commit 96658eaed9
+5 -2
View File
@@ -148,9 +148,12 @@ typedef struct {
#define EM_X86_64 62 /* Advanced Micro Devices X86-64 processor */
/* architecture class (EI_CLASS) */
#define ELFCLASS32 1
#define ELFCLASS64 2
#define ELFCLASSNONE 0
#define ELFCLASS32 1
#define ELFCLASS64 2
/* endian (EI_DATA) */
#define ELFDATANONE 0 /* invalid */
#define ELFDATA2LSB 1 /* little endian */
#define ELFDATA2MSB 2 /* big endian */