gcconfig.h: Add FreeBSD powerpc64 defines.
authorAndreas Tobler <andreast@gcc.gnu.org>
Sat, 21 Dec 2013 20:42:39 +0000 (21:42 +0100)
committerAndreas Tobler <andreast@gcc.gnu.org>
Sat, 21 Dec 2013 20:42:39 +0000 (21:42 +0100)
2013-12-21  Andreas Tobler  <andreast@gcc.gnu.org>

    * include/private/gcconfig.h: Add FreeBSD powerpc64 defines.

From-SVN: r206162

boehm-gc/ChangeLog
boehm-gc/include/private/gcconfig.h

index cb097bc..6f12452 100644 (file)
@@ -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.
index 475bb2c..7e081d9 100644 (file)
 #     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