public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch] powerpc64 FreeBSD support for boehm-gc
@ 2013-12-20 22:16 Andreas Tobler
  2013-12-21 17:28 ` Andrew Haley
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Tobler @ 2013-12-20 22:16 UTC (permalink / raw)
  To: GCC Patches, Java Patches

Hi,

the below patch adds support for powerpc64 FreeBSD for the boehm-gc.
The diff is already available in boehm-gc trunk.
Ok for gcc trunk?

Thanks,
Andreas

2013-12-20  Andreas Tobler  <andreast@gcc.gnu.ch>

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


Index: include/private/gcconfig.h
===================================================================
--- include/private/gcconfig.h	(revision 206155)
+++ include/private/gcconfig.h	(working copy)
@@ -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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-12-29 22:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-20 22:16 [patch] powerpc64 FreeBSD support for boehm-gc Andreas Tobler
2013-12-21 17:28 ` Andrew Haley
2013-12-26  0:11   ` Andreas Tobler
2013-12-26 22:48     ` Andrew Haley
2013-12-29 22:45       ` Andreas Tobler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).