xref: /netbsd/sys/arch/sbmips/include/elf_machdep.h (revision bf9ec67e)
1 /*	$NetBSD: elf_machdep.h,v 1.1 2002/03/06 02:13:42 simonb Exp $	*/
2 
3 #include <mips/elf_machdep.h>
4 
5 #if defined(__MIPSEB__)
6 #define	ELF32_MACHDEP_ENDIANNESS	ELFDATA2MSB
7 #elif defined(__MIPSEL__)
8 #define	ELF32_MACHDEP_ENDIANNESS	ELFDATA2LSB
9 #else
10 #error neither __MIPSEL__ nor __MIPSEB__ are defined.
11 #endif
12