[patch] powerpc64 FreeBSD support for boehm-gc
Andreas Tobler <[email protected]> Fri, 20 Dec 2013 23:15:49 +0100
| Newsgroups | gmane.comp.gcc.java.patches,gmane.comp.gcc.patches |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> * 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