diff options
author | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-24 00:48:39 +0000 |
---|---|---|
committer | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-24 00:48:39 +0000 |
commit | acccd380933dd5679854ee5bfce3014d202991d4 (patch) | |
tree | c469c5364048c3c9e886851e23f76b60237309ff /boehm-gc/darwin_stop_world.c | |
parent | 7abd83674208515baaffe6dead5c9d3136d23912 (diff) | |
download | gcc-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/darwin_stop_world.c')
-rw-r--r-- | boehm-gc/darwin_stop_world.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/boehm-gc/darwin_stop_world.c b/boehm-gc/darwin_stop_world.c index 36378cbbce0..2fad9474716 100644 --- a/boehm-gc/darwin_stop_world.c +++ b/boehm-gc/darwin_stop_world.c @@ -1,5 +1,7 @@ #include "private/pthread_support.h" +/* This probably needs more porting work to ppc64. */ + # if defined(GC_DARWIN_THREADS) /* From "Inside Mac OS X - Mach-O Runtime Architecture" published by Apple @@ -14,13 +16,12 @@ */ #define PPC_RED_ZONE_SIZE 224 -/* Not 64-bit clean. Wait until Apple defines their 64-bit ABI */ typedef struct StackFrame { - unsigned int savedSP; - unsigned int savedCR; - unsigned int savedLR; - unsigned int reserved[2]; - unsigned int savedRTOC; + unsigned long savedSP; + unsigned long savedCR; + unsigned long savedLR; + unsigned long reserved[2]; + unsigned long savedRTOC; } StackFrame; |