Rev 854 | Rev 938 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 854 | Rev 910 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | #ifndef __ia32_ELF_H__ |
29 | #ifndef __ia32_ELF_H__ |
30 | #define __ia32_ELF_H__ |
30 | #define __ia32_ELF_H__ |
31 | 31 | ||
32 | #include <elf32.h> |
32 | #include <elf32.h> |
33 | 33 | ||
34 | #define CURRENT_ELF_MACHINE EM_386 |
34 | #define ELF_MACHINE EM_386 |
35 | #define CURRENT_ELF_DATA ELFDATA2LSB |
35 | #define ELF_DATA_ENCODING ELFDATA2LSB |
- | 36 | #define ELF_CLASS ELFCLASS32 |
|
36 | 37 | ||
37 | /* |
38 | /* |
38 | * Main ELF loader function |
39 | * Main ELF loader function |
39 | */ |
40 | */ |
40 | #defiine elf_load(__address header, as_t *as) elf32_load(header, as) |
41 | #define elf_load(header, as) elf32_load(header, as) |
41 | 42 | ||
42 | #endif |
43 | #endif |