diff options
author | jmallett <jmallett@FreeBSD.org> | 2012-03-29 02:54:35 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2012-03-29 02:54:35 +0000 |
commit | 4544b2987d0d95e6ea49d4f0c3281c2a11ce8f77 (patch) | |
tree | 1fac0394055b095aec90d117db2f722cff6a8dcb /sys/mips/include | |
parent | 362bad78cae4d38646200d3ebffd68a6bcdc6921 (diff) | |
download | FreeBSD-src-4544b2987d0d95e6ea49d4f0c3281c2a11ce8f77.zip FreeBSD-src-4544b2987d0d95e6ea49d4f0c3281c2a11ce8f77.tar.gz |
Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH.
This makes our naming scheme more closely match other systems and the
expectations of much third-party software. MIPS builds which are little-endian
should require and exhibit no changes. Big-endian TARGET_ARCHes must be
changed:
From: To:
mipseb mips
mipsn32eb mipsn32
mips64eb mips64
An entry has been added to UPDATING and some foot-shooting protection (complete
with warnings which should become errors in the near future) to the top-level
base system Makefile.
Diffstat (limited to 'sys/mips/include')
-rw-r--r-- | sys/mips/include/param.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/mips/include/param.h b/sys/mips/include/param.h index bd6d800..c700a44 100644 --- a/sys/mips/include/param.h +++ b/sys/mips/include/param.h @@ -59,14 +59,14 @@ #ifndef MACHINE_ARCH #if _BYTE_ORDER == _BIG_ENDIAN #ifdef __mips_n64 -#define MACHINE_ARCH "mips64eb" +#define MACHINE_ARCH "mips64" #ifndef MACHINE_ARCH32 -#define MACHINE_ARCH32 "mipseb" +#define MACHINE_ARCH32 "mips" #endif #elif defined(__mips_n32) -#define MACHINE_ARCH "mipsn32eb" +#define MACHINE_ARCH "mipsn32" #else -#define MACHINE_ARCH "mipseb" +#define MACHINE_ARCH "mips" #endif #else #ifdef __mips_n64 |