Subversion Repositories HelenOS

Rev

Rev 4377 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4377 Rev 4692
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
/** @addtogroup mips32 
29
/** @addtogroup mips32
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
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>
38
#define ELF_MACHINE  EM_MIPS
39
 
39
 
40
#define ELF_MACHINE     EM_MIPS
-
 
41
 
-
 
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
 
48
#define ELF_CLASS       ELFCLASS32
46
#define ELF_CLASS  ELFCLASS32
49
 
47
 
50
#endif
48
#endif
51
 
49
 
52
/** @}
50
/** @}
53
 */
51
 */