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 <andre...@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