aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc
diff options
context:
space:
mode:
authorAndreas Tobler <andreast@gcc.gnu.org>2013-12-21 21:42:39 +0100
committerAndreas Tobler <andreast@gcc.gnu.org>2013-12-21 21:42:39 +0100
commit97dd6e4bf3324d6d0860278c00608b13c460ded1 (patch)
treed1c11343e3b9ec414ff8f7e3565d77f3b26ea7a9 /boehm-gc
parentb1055be00bac97a5a8d887ab8f9fbe8a0995915e (diff)
gcconfig.h: Add FreeBSD powerpc64 defines.
2013-12-21 Andreas Tobler <andreast@gcc.gnu.org> * include/private/gcconfig.h: Add FreeBSD powerpc64 defines. From-SVN: r206162
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