Merge branch 'master' of git://localhost/acess2
[tpg/acess2.git] / Usermode / Libraries / ld-acess.so_src / elf64.h
index 237b75c..fb39782 100644 (file)
@@ -9,8 +9,11 @@
 
 #define ELFCLASS64     2
 
+#define EM_X86_64      62
+
 typedef uint16_t       Elf64_Half;
 typedef uint32_t       Elf64_Word;
+
 typedef uint64_t       Elf64_Addr;
 typedef uint64_t       Elf64_Off;
 typedef uint64_t       Elf64_Xword;
@@ -32,7 +35,7 @@ typedef struct
        Elf64_Half      e_shentsize;
        Elf64_Half      e_shnum;
        Elf64_Half      e_shstrndx;
-} Elf64_Ehdr;
+} __attribute__((packed)) Elf64_Ehdr;
 
 typedef struct
 {

UCC git Repository :: git.ucc.asn.au