summaryrefslogtreecommitdiff
path: root/boehm-gc/include
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-24 00:48:39 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-24 00:48:39 +0000
commitacccd380933dd5679854ee5bfce3014d202991d4 (patch)
treec469c5364048c3c9e886851e23f76b60237309ff /boehm-gc/include
parent7abd83674208515baaffe6dead5c9d3136d23912 (diff)
downloadgcc-acccd380933dd5679854ee5bfce3014d202991d4.tar.gz
* darwin_stop_world.c: Update for -m64 multilib.
* include/private/gcconfig.h: Likewise. * powerpc_darwin_mach_dep.s: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96968 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/include')
-rw-r--r--boehm-gc/include/private/gcconfig.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h
index 64cbde22c30..fbabdedd772 100644
--- a/boehm-gc/include/private/gcconfig.h
+++ b/boehm-gc/include/private/gcconfig.h
@@ -277,8 +277,9 @@
# define MACOS
# define mach_type_known
# endif
-# if defined(macosx) || \
- defined(__APPLE__) && defined(__MACH__) && defined(__ppc__)
+# if defined(macosx) \
+ || defined(__APPLE__) && defined(__MACH__) && defined(__ppc__) \
+ || defined(__APPLE__) && defined(__MACH__) && defined(__ppc64__)
# define DARWIN
# define POWERPC
# define mach_type_known
@@ -756,7 +757,12 @@
# define DATAEND (_end)
# endif
# ifdef DARWIN
-# define ALIGNMENT 4
+# if (defined (__ppc64__))
+# define ALIGNMENT 8
+# define CPP_WORDSZ 64
+# else
+# define ALIGNMENT 4
+# endif
# define OS_TYPE "DARWIN"
# define DYNAMIC_LOADING
/* XXX: see get_end(3), get_etext() and get_end() should not be used.