зеркало из https://github.com/mozilla/pjs.git
Checked in NetBSD/MIPS port contributed by Tom Weinstein
<tomw@geocast.com>. Modified files: _netbsd.cfg, _netbsd.h
This commit is contained in:
Родитель
0d81c2dddc
Коммит
6b59150d74
|
@ -73,7 +73,7 @@
|
|||
#define PR_ALIGN_OF_DOUBLE 4
|
||||
#define PR_ALIGN_OF_POINTER 4
|
||||
|
||||
#elif defined(__sparc__)
|
||||
#elif defined(__sparc__) || defined(__mips__)
|
||||
|
||||
#undef IS_LITTLE_ENDIAN 1
|
||||
#define IS_BIG_ENDIAN 1
|
||||
|
|
|
@ -33,6 +33,8 @@
|
|||
#define _PR_SI_ARCHITECTURE "powerpc"
|
||||
#elif defined(__sparc__)
|
||||
#define _PR_SI_ARCHITECTURE "sparc"
|
||||
#elif defined(__mips__)
|
||||
#define _PR_SI_ARCHITECTURE "mips"
|
||||
#elif defined(__arm32__)
|
||||
#define _PR_SI_ARCHITECTURE "arm32"
|
||||
#endif
|
||||
|
@ -64,6 +66,8 @@
|
|||
|
||||
#if defined(__i386__) || defined(__sparc__) || defined(__m68k__) || defined(__powerpc__)
|
||||
#define JB_SP_INDEX 2
|
||||
#elif defined(__mips__)
|
||||
#define JB_SP_INDEX 4
|
||||
#elif defined(__alpha__)
|
||||
#define JB_SP_INDEX 34
|
||||
#elif defined(__arm32__)
|
||||
|
|
Загрузка…
Ссылка в новой задаче