Browse Source

Support for little-endian Mips, second shot

* src/base/digitseq/cl_asm_mipsel_.cc: New file...
        * src/base/digitseq/cl_asm_cc: ...used here.
        * src/base/digitseq/cl_asm.h: Include cl_asm_mips.h for any endianness.
        * include/cln/object.h: Set alignment for mipsel explicitly.
master
Richard Kreckel 21 years ago
parent
commit
089003015a
  1. 8
      ChangeLog
  2. 2
      include/cln/object.h
  3. 2
      src/base/digitseq/cl_asm.h
  4. 4
      src/base/digitseq/cl_asm_.cc
  5. 2
      src/base/digitseq/cl_asm_mipsel_.cc

8
ChangeLog

@ -1,3 +1,11 @@
2004-09-27 Richard B. Kreckel <kreckel@ginac.de>
Support for little-endian Mips, second shot
* src/base/digitseq/cl_asm_mipsel_.cc: New file...
* src/base/digitseq/cl_asm_cc: ...used here.
* src/base/digitseq/cl_asm.h: Include cl_asm_mips.h for any endianness.
* include/cln/object.h: Set alignment for mipsel explicitly.
2004-09-05 Richard B. Kreckel <kreckel@ginac.de>
Support for little-endian Mips

2
include/cln/object.h

@ -22,7 +22,7 @@ namespace cln {
#if defined(__m68k__)
#define cl_word_alignment 2
#endif
#if defined(__i386__) || defined(__mips__) || defined(__sparc__) || defined(__hppa__) || defined(__arm__) || defined(__rs6000__) || defined(__m88k__) || defined(__convex__) || defined(__s390__)
#if defined(__i386__) || defined(__mips__) || defined(__mipsel__) || defined(__sparc__) || defined(__hppa__) || defined(__arm__) || defined(__rs6000__) || defined(__m88k__) || defined(__convex__) || defined(__s390__)
#define cl_word_alignment 4
#endif
#if defined(__alpha__) || defined(__mips64__) || defined(__sparc64__) || defined(__ia64__) || defined(__x86_64__)

2
src/base/digitseq/cl_asm.h

@ -21,7 +21,7 @@
#include "cl_asm_i386.h"
#endif
#if defined(__mips__) && !defined(__mips64__) && !defined(__mipsel__) && (intDsize==32)
#if (defined(__mips__) || defined(__mipsel__)) && !defined(__mips64__) && (intDsize==32)
#include "cl_asm_mips.h"
#endif

4
src/base/digitseq/cl_asm_.cc

@ -25,6 +25,10 @@
#include "cl_asm_mips_.cc"
#endif
#if defined(__mipsel__)
#include "cl_asm_mipsel_.cc"
#endif
#if defined(__hppa__)
#include "cl_asm_hppa_.cc"
#endif

2
src/base/digitseq/cl_asm_mipsel_.cc

@ -0,0 +1,2 @@
// The endianness is irrelevant for that code:
#include "cl_asm_mips_.cc"
Loading…
Cancel
Save