From: Andreas Tobler <andreast-list@fgznet.ch>
To: GCC Patches <gcc-patches@gcc.gnu.org>,
Java Patches <java-patches@gcc.gnu.org>
Subject: [patch] powerpc64 FreeBSD support for boehm-gc
Date: Fri, 20 Dec 2013 22:16:00 -0000 [thread overview]
Message-ID: <52B4C195.1050305@fgznet.ch> (raw)
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.
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
next reply other threads:[~2013-12-20 22:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-20 22:16 Andreas Tobler [this message]
2013-12-21 17:28 ` Andrew Haley
2013-12-26 0:11 ` Andreas Tobler
2013-12-26 22:48 ` Andrew Haley
2013-12-29 22:45 ` Andreas Tobler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52B4C195.1050305@fgznet.ch \
--to=andreast-list@fgznet.ch \
--cc=gcc-patches@gcc.gnu.org \
--cc=java-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).