Rev 2787 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2787 | Rev 4377 | ||
---|---|---|---|
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 | ||
38 | #define ELF_MACHINE EM_MIPS |
40 | #define ELF_MACHINE EM_MIPS |
39 | 41 | ||
40 | #ifdef BIG_ENDIAN |
42 | #ifdef ARCH_IS_BIG_ENDIAN |
41 | # define ELF_DATA_ENCODING ELFDATA2MSB |
43 | # define ELF_DATA_ENCODING ELFDATA2MSB |
42 | #else |
44 | #else |
43 | # define ELF_DATA_ENCODING ELFDATA2LSB |
45 | # define ELF_DATA_ENCODING ELFDATA2LSB |
44 | #endif |
46 | #endif |
45 | 47 |