summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-21 20:42:39 +0000
committerIvan Maidanski <ivmai@mail.ru>2015-05-20 11:36:23 +0300
commitd16526645b0f9cf433c700756fde07aaa42cb921 (patch)
tree13a8b6068fb4fc6896190b7178f586c4c339fc9e
parent78ed8b9d500ed1d07bc1ed1bb397e9322daee99f (diff)
downloadbdwgc-d16526645b0f9cf433c700756fde07aaa42cb921.tar.gz
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
-rw-r--r--ChangeLog4
-rw-r--r--include/private/gcconfig.h8
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index cb097bcc..6f124526 100644
--- a/ChangeLog
+++ b/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/include/private/gcconfig.h b/include/private/gcconfig.h
index 475bb2c1..7e081d99 100644
--- a/include/private/gcconfig.h
+++ b/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