Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2009-04-25 07:39:40 +0400
committerZoltan Varga <vargaz@gmail.com>2009-04-25 07:39:40 +0400
commit1c998683f8455e4f0873370c90e1e829216c14f1 (patch)
tree2d2ff8ae045d76968e7826fb9de921516c93f51f /libgc/include
parente43cb181c3ed7079a5bc89d6ee3c148f97d861d7 (diff)
2009-04-24 Kostyantyn Gushtin, Yevgen Kiruha, Serhiy Naumenko, Serhiy Stetskovych and Ian Dichkovsky <mono@n-ix.com.ua>
* include/private/gcconfig.h: Changes to support 64-bit ABI on MIPS. Add an additional condition for a proper defining of ALIGNMENT and CPP_WORDSZ. svn path=/trunk/mono/; revision=132645
Diffstat (limited to 'libgc/include')
-rw-r--r--libgc/include/private/gcconfig.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libgc/include/private/gcconfig.h b/libgc/include/private/gcconfig.h
index 0069b8ed611..519f831229d 100644
--- a/libgc/include/private/gcconfig.h
+++ b/libgc/include/private/gcconfig.h
@@ -1376,7 +1376,12 @@
# define DATAEND (_end)
extern int __data_start[];
# define DATASTART ((ptr_t)(__data_start))
-# define ALIGNMENT 4
+# if defined(_MIPS_SZPTR) && (_MIPS_SZPTR == 64)
+# define ALIGNMENT 8
+# define CPP_WORDSZ 64
+# else
+# define ALIGNMENT 4
+# endif
# define USE_GENERIC_PUSH_REGS
# if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 2 || __GLIBC__ > 2
# define LINUX_STACKBOTTOM