NetBSD/sys/arch/sbmips/include/elf_machdep.h
simonb 4b7a128684 A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm").  Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial.  Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
2002-03-06 02:13:37 +00:00

12 lines
307 B
C

/* $NetBSD: elf_machdep.h,v 1.1 2002/03/06 02:13:42 simonb Exp $ */
#include <mips/elf_machdep.h>
#if defined(__MIPSEB__)
#define ELF32_MACHDEP_ENDIANNESS ELFDATA2MSB
#elif defined(__MIPSEL__)
#define ELF32_MACHDEP_ENDIANNESS ELFDATA2LSB
#else
#error neither __MIPSEL__ nor __MIPSEB__ are defined.
#endif