diff options
author | KWSys Robot <kwrobot@kitware.com> | 2015-05-12 15:38:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-05-13 12:28:08 (GMT) |
commit | 3b815ed283eb8d59c4e46dd89aa1e17c9f4deee6 (patch) | |
tree | 1f3c038b47de28b33f17543e0612e5e5cfd6c9a9 | |
parent | ac94a796f1f0c5acc06d67d5ad283b29476c1d2e (diff) | |
download | CMake-3b815ed283eb8d59c4e46dd89aa1e17c9f4deee6.zip CMake-3b815ed283eb8d59c4e46dd89aa1e17c9f4deee6.tar.gz CMake-3b815ed283eb8d59c4e46dd89aa1e17c9f4deee6.tar.bz2 |
KWSys 2015-05-12 (b1d560a0)
Extract upstream KWSys using the following shell commands.
$ git archive --prefix=upstream-kwsys/ b1d560a0 | tar x
$ git shortlog --no-merges --abbrev=8 --format='%h %s' 34fceb50..b1d560a0
Brad King (1):
b1d560a0 CPU: MIPS is biendian
-rw-r--r-- | CPU.h.in | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -76,7 +76,15 @@ #elif defined(__m68k__) || defined(M68000) # define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG -/* MIPS */ +/* MIPSel (MIPS little endian) */ +#elif defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) +# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_LITTLE + +/* MIPSeb (MIPS big endian) */ +#elif defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) +# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG + +/* MIPS (fallback, big endian) */ #elif defined(__mips) || defined(__mips__) || defined(__MIPS__) # define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG |