From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19386 invoked by alias); 20 Dec 2013 22:16:07 -0000 Mailing-List: contact java-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-patches-owner@gcc.gnu.org Received: (qmail 19307 invoked by uid 89); 20 Dec 2013 22:16:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: smtp.fgznet.ch Received: from mail.fgznet.ch (HELO smtp.fgznet.ch) (81.92.96.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 20 Dec 2013 22:16:05 +0000 Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id rBKMFnFB034301; Fri, 20 Dec 2013 23:16:00 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <52B4C195.1050305@fgznet.ch> Date: Fri, 20 Dec 2013 22:16:00 -0000 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: GCC Patches , Java Patches Subject: [patch] powerpc64 FreeBSD support for boehm-gc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2013-q4/txt/msg00011.txt.bz2 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 * 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