From owner-freebsd-gecko@FreeBSD.ORG Tue Jul 13 19:03:34 2010 Return-Path: Delivered-To: freebsd-gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B96641065673 for ; Tue, 13 Jul 2010 19:03:34 +0000 (UTC) (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: from trillian.chruetertee.ch (trillian.chruetertee.ch [217.150.245.56]) by mx1.freebsd.org (Postfix) with ESMTP id 660A38FC0A for ; Tue, 13 Jul 2010 19:03:33 +0000 (UTC) Received: from trillian.chruetertee.ch (trillian [217.150.245.56]) by trillian.chruetertee.ch (8.14.3/8.14.3) with ESMTP id o6DJ3XMN089988 for ; Tue, 13 Jul 2010 19:03:33 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: (from www@localhost) by trillian.chruetertee.ch (8.14.3/8.14.3/Submit) id o6DJ3Rp7089292 for freebsd-gecko@freebsd.org; Tue, 13 Jul 2010 19:03:27 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Date: Tue, 13 Jul 2010 19:03:27 GMT Message-Id: <201007131903.o6DJ3Rp7089292@trillian.chruetertee.ch> X-Authentication-Warning: trillian.chruetertee.ch: www set sender to svn-freebsd-gecko@chruetertee.ch using -f From: svn-freebsd-gecko@chruetertee.ch To: freebsd-gecko@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [SVN-Commit] r352 - branches/experimental/devel/nspr/files X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-gecko@freebsd.org List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2010 19:03:34 -0000 Author: andreast Date: Tue Jul 13 19:03:27 2010 New Revision: 352 Log: Add support for powerpc64. Modified: branches/experimental/devel/nspr/files/patch-.._pr_include_md__freebsd.cfg branches/experimental/devel/nspr/files/patch-.._pr_include_md__freebsd.h Modified: branches/experimental/devel/nspr/files/patch-.._pr_include_md__freebsd.cfg ============================================================================== --- branches/experimental/devel/nspr/files/patch-.._pr_include_md__freebsd.cfg Tue Jul 13 10:55:57 2010 (r351) +++ branches/experimental/devel/nspr/files/patch-.._pr_include_md__freebsd.cfg Tue Jul 13 19:03:27 2010 (r352) @@ -1,9 +1,55 @@ ---- ../pr/include/md/_freebsd.cfg -+++ ../pr/include/md/_freebsd.cfg -@@ -283,6 +283,51 @@ +--- ../pr/include/md/_freebsd.cfg.orig 2007-11-26 19:17:17.000000000 +0100 ++++ ../pr/include/md/_freebsd.cfg 2010-06-09 20:30:03.000000000 +0200 +@@ -283,6 +283,97 @@ #define PR_ALIGN_OF_POINTER 8 #define PR_ALIGN_OF_WORD 8 ++#elif defined(__powerpc64__) ++ ++#undef IS_LITTLE_ENDIAN ++#define IS_BIG_ENDIAN 1 ++#define IS_64 ++ ++#define PR_BYTES_PER_BYTE 1 ++#define PR_BYTES_PER_SHORT 2 ++#define PR_BYTES_PER_INT 4 ++#define PR_BYTES_PER_INT64 8 ++#define PR_BYTES_PER_LONG 8 ++#define PR_BYTES_PER_FLOAT 4 ++#define PR_BYTES_PER_DOUBLE 8 ++#define PR_BYTES_PER_WORD 8 ++#define PR_BYTES_PER_DWORD 8 ++ ++#define PR_BITS_PER_BYTE 8 ++#define PR_BITS_PER_SHORT 16 ++#define PR_BITS_PER_INT 32 ++#define PR_BITS_PER_INT64 64 ++#define PR_BITS_PER_LONG 64 ++#define PR_BITS_PER_FLOAT 32 ++#define PR_BITS_PER_DOUBLE 64 ++#define PR_BITS_PER_WORD 64 ++ ++#define PR_BITS_PER_BYTE_LOG2 3 ++#define PR_BITS_PER_SHORT_LOG2 4 ++#define PR_BITS_PER_INT_LOG2 5 ++#define PR_BITS_PER_INT64_LOG2 6 ++#define PR_BITS_PER_LONG_LOG2 6 ++#define PR_BITS_PER_FLOAT_LOG2 5 ++#define PR_BITS_PER_DOUBLE_LOG2 6 ++#define PR_BITS_PER_WORD_LOG2 6 ++ ++#define PR_ALIGN_OF_SHORT 2 ++#define PR_ALIGN_OF_INT 4 ++#define PR_ALIGN_OF_LONG 8 ++#define PR_ALIGN_OF_INT64 8 ++#define PR_ALIGN_OF_FLOAT 4 ++#define PR_ALIGN_OF_DOUBLE 8 ++#define PR_ALIGN_OF_POINTER 8 ++#define PR_ALIGN_OF_WORD 8 ++ ++#define PR_BYTES_PER_WORD_LOG2 3 ++#define PR_BYTES_PER_DWORD_LOG2 3 ++ +#elif defined(__powerpc__) + +#undef IS_LITTLE_ENDIAN Modified: branches/experimental/devel/nspr/files/patch-.._pr_include_md__freebsd.h ============================================================================== --- branches/experimental/devel/nspr/files/patch-.._pr_include_md__freebsd.h Tue Jul 13 10:55:57 2010 (r351) +++ branches/experimental/devel/nspr/files/patch-.._pr_include_md__freebsd.h Tue Jul 13 19:03:27 2010 (r352) @@ -1,15 +1,17 @@ ---- ../pr/include/md/_freebsd.h -+++ ../pr/include/md/_freebsd.h -@@ -57,6 +57,8 @@ +--- ../pr/include/md/_freebsd.h.orig 2004-11-22 21:24:53.000000000 +0000 ++++ ../pr/include/md/_freebsd.h 2010-06-07 20:53:33.000000000 +0000 +@@ -57,6 +57,10 @@ #define _PR_SI_ARCHITECTURE "ia64" #elif defined(__amd64__) #define _PR_SI_ARCHITECTURE "amd64" ++#elif defined(__powerpc64__) ++#define _PR_SI_ARCHITECTURE "powerpc64" +#elif defined(__powerpc__) +#define _PR_SI_ARCHITECTURE "powerpc" #else #error "Unknown CPU architecture" #endif -@@ -106,6 +108,16 @@ +@@ -106,6 +110,16 @@ #define _PR_IPV6_V6ONLY_PROBE #endif