aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc/include
diff options
context:
space:
mode:
authorDavid Daney <ddaney@avtrex.com>2007-08-15 06:42:16 +0000
committerDavid Daney <daney@gcc.gnu.org>2007-08-15 06:42:16 +0000
commitf2b6bf20c6ae833e9a3b5cc5564511a44a540f1f (patch)
tree2f4612b959e57b4192b447605e3a81f959ed8c8c /boehm-gc/include
parentc6ecce8c1bba9d41496484a041b8e9ab42a09e87 (diff)
downloadgcc-f2b6bf20c6ae833e9a3b5cc5564511a44a540f1f.zip
gcc-f2b6bf20c6ae833e9a3b5cc5564511a44a540f1f.tar.gz
gcc-f2b6bf20c6ae833e9a3b5cc5564511a44a540f1f.tar.bz2
* include/private/gcconfig.h: Handle mips64-linux n64 ABI.
From-SVN: r127506
Diffstat (limited to 'boehm-gc/include')
-rw-r--r--boehm-gc/include/private/gcconfig.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h
index 288eefb..0017028 100644
--- a/boehm-gc/include/private/gcconfig.h
+++ b/boehm-gc/include/private/gcconfig.h
@@ -1369,7 +1369,12 @@
# define DATAEND (_end)
extern int __data_start[];
# define DATASTART ((ptr_t)(__data_start))
-# define ALIGNMENT 4
+# ifdef _MIPS_SZPTR
+# define CPP_WORDSZ _MIPS_SZPTR
+# define ALIGNMENT (_MIPS_SZPTR/8)
+# else
+# define ALIGNMENT 4
+# endif
# define USE_GENERIC_PUSH_REGS
# if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 2 || __GLIBC__ > 2
# define LINUX_STACKBOTTOM