summaryrefslogtreecommitdiff
path: root/include/private/gcconfig.h
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2009-04-25 03:39:40 +0000
committerguest <ivmai@mail.ru>2011-07-29 15:31:21 +0400
commit6c1a7ae912c49b26ab745817be742fa589ff3e80 (patch)
tree4cf0000c2aaa6c37ef46a5ca1d619512bc5466a1 /include/private/gcconfig.h
parente45d384565ac317984b4171fc9eb0a94c07534ae (diff)
downloadbdwgc-6c1a7ae912c49b26ab745817be742fa589ff3e80.tar.gz
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 'include/private/gcconfig.h')
-rw-r--r--include/private/gcconfig.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h
index 0069b8ed..519f8312 100644
--- a/include/private/gcconfig.h
+++ b/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