diff mbox

powerpc64 FreeBSD support for boehm-gc

Message ID 52B4C195.1050305@fgznet.ch
State New
Headers show

Commit Message

Andreas Tobler Dec. 20, 2013, 10:15 p.m. UTC
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.

Comments

Andrew Haley Dec. 21, 2013, 5:27 p.m. UTC | #1
On 12/20/2013 10:15 PM, Andreas Tobler wrote:
> Ok for gcc trunk?

OK, thanks.

Andrew.
Andreas Tobler Dec. 26, 2013, 12:11 a.m. UTC | #2
On 21.12.13 18:27, Andrew Haley wrote:
> On 12/20/2013 10:15 PM, Andreas Tobler wrote:
>> Ok for gcc trunk?
> 
> OK, thanks.
> 

May I get this one down to 4.8 too? Not really needed, but for
completeness. Results will follow...

Thanks,
Andreas
Andrew Haley Dec. 26, 2013, 10:48 p.m. UTC | #3
On 12/26/2013 12:11 AM, Andreas Tobler wrote:
> On 21.12.13 18:27, Andrew Haley wrote:
>> On 12/20/2013 10:15 PM, Andreas Tobler wrote:
>>> Ok for gcc trunk?
>>
>> OK, thanks.
>>
> 
> May I get this one down to 4.8 too? Not really needed, but for
> completeness. Results will follow...

No objections from me.

Andrew.
Andreas Tobler Dec. 29, 2013, 10:44 p.m. UTC | #4
On 26.12.13 23:48, Andrew Haley wrote:
> On 12/26/2013 12:11 AM, Andreas Tobler wrote:
>> On 21.12.13 18:27, Andrew Haley wrote:
>>> On 12/20/2013 10:15 PM, Andreas Tobler wrote:
>>>> Ok for gcc trunk?
>>>
>>> OK, thanks.
>>>
>>
>> May I get this one down to 4.8 too? Not really needed, but for
>> completeness. Results will follow...

http://gcc.gnu.org/ml/gcc-testresults/2013-12/msg02277.html

> No objections from me.

Thank you!
Done, 206238

Andreas
diff mbox

Patch

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