Rev 4420 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4420 | Rev 4668 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | */ |
33 | */ |
34 | 34 | ||
35 | #ifndef KERN_mips32_ELF_H_ |
35 | #ifndef KERN_mips32_ELF_H_ |
36 | #define KERN_mips32_ELF_H_ |
36 | #define KERN_mips32_ELF_H_ |
37 | 37 | ||
38 | #include <byteorder.h> |
- | |
39 | - | ||
40 | #define ELF_MACHINE EM_MIPS |
38 | #define ELF_MACHINE EM_MIPS |
41 | 39 | ||
42 | #ifdef ARCH_IS_BIG_ENDIAN |
40 | #ifdef __BE__ |
43 | # define ELF_DATA_ENCODING ELFDATA2MSB |
41 | #define ELF_DATA_ENCODING ELFDATA2MSB |
44 | #else |
42 | #else |
45 | # define ELF_DATA_ENCODING ELFDATA2LSB |
43 | #define ELF_DATA_ENCODING ELFDATA2LSB |
46 | #endif |
44 | #endif |
47 | 45 |