X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Fld-acess.so_src%2Felf64.h;h=fb39782ab0b116ee6fe718c616dc37c9fe8c823a;hb=a41c4af4ae30e963f6bc370efad60dacc39b0275;hp=237b75cb6e15ff12ab1e477dcba6310d2eee6eb0;hpb=9867382061f9035d65e118d95fa819c0e615f353;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/ld-acess.so_src/elf64.h b/Usermode/Libraries/ld-acess.so_src/elf64.h index 237b75cb..fb39782a 100644 --- a/Usermode/Libraries/ld-acess.so_src/elf64.h +++ b/Usermode/Libraries/ld-acess.so_src/elf64.h @@ -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 {