aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-21 20:42:39 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-21 20:42:39 +0000
commitbad0cbd596b27e4268637c3f06c4b8467d141c20 (patch)
treed1c11343e3b9ec414ff8f7e3565d77f3b26ea7a9 /boehm-gc
parent16e19638fbbf438fbec1d25afad6f9851b17f522 (diff)
2013-12-21 Andreas Tobler <andreast@gcc.gnu.org>
* include/private/gcconfig.h: Add FreeBSD powerpc64 defines. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206162 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc')
-rw-r--r--boehm-gc/ChangeLog4
-rw-r--r--boehm-gc/include/private/gcconfig.h8
2 files changed, 12 insertions, 0 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index cb097bcce68..6f124526e3d 100644
--- a/boehm-gc/ChangeLog
+++ b/boehm-gc/ChangeLog
@@ -1,3 +1,7 @@
+2013-12-21 Andreas Tobler <andreast@gcc.gnu.org>
+
+ * include/private/gcconfig.h: Add FreeBSD powerpc64 defines.
+
2013-09-20 Alan Modra <amodra@gmail.com>
* configure: Regenerate.
diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h
index 475bb2c191a..7e081d993bb 100644
--- a/boehm-gc/include/private/gcconfig.h
+++ b/boehm-gc/include/private/gcconfig.h
@@ -849,7 +849,15 @@
# define NO_PTHREAD_TRYLOCK
# endif
# ifdef FREEBSD
+# if defined(__powerpc64__)
+# define ALIGNMENT 8
+# define CPP_WORDSZ 64
+# ifndef HBLKSIZE
+# define HBLKSIZE 4096
+# endif
+# else
# define ALIGNMENT 4
+# endif
# define OS_TYPE "FREEBSD"
# ifndef GC_FREEBSD_THREADS
# define MPROTECT_VDB