Rev 910 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 910 | Rev 938 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | */ |
27 | */ |
28 | 28 | ||
29 | #ifndef __amd64_ELF_H__ |
29 | #ifndef __amd64_ELF_H__ |
30 | #define __amd64_ELF_H__ |
30 | #define __amd64_ELF_H__ |
31 | 31 | ||
32 | #include <elf64.h> |
- | |
33 | - | ||
34 | #define ELF_MACHINE EM_X86_64 |
32 | #define ELF_MACHINE EM_X86_64 |
35 | #define ELF_DATA_ENCODING ELFDATA2LSB |
33 | #define ELF_DATA_ENCODING ELFDATA2LSB |
36 | #define ELF_CLASS ELFCLASS64 |
34 | #define ELF_CLASS ELFCLASS64 |
37 | 35 | ||
38 | /* |
- | |
39 | * Main ELF loader function |
- | |
40 | */ |
- | |
41 | #define elf_load(header, as) elf64_load(header, as) |
- | |
42 | - | ||
43 | #endif |
36 | #endif |