diff options
author | andreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-19 19:19:35 +0000 |
---|---|---|
committer | andreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-19 19:19:35 +0000 |
commit | fda615954709a34a26d4adfb780c8cebb288cda2 (patch) | |
tree | 4eba58acbff072ff079405d890b8da2c4f774d02 /boehm-gc/darwin_stop_world.c | |
parent | c5a1dccda45eaf8952ed4decfc88424ced909136 (diff) |
2007-01-19 Andreas Tobler <a.tobler@schweiz.org>
* os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Moved recently
added defines to include/private/gc_priv.h
* darwin_stop_world.c: Removed the above defines.
(catch_exception_raise): Added THREAD_FLD in exc_state for POWERPC too.
* include/private/gc_priv.h: Moved definitions from darwin_stop_world.c
and os_dep.c to here. Fixed THREAD definition fixes for ppc64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120977 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, 0 insertions, 13 deletions
diff --git a/boehm-gc/darwin_stop_world.c b/boehm-gc/darwin_stop_world.c index 5ddb271646e..719b1b02d35 100644 --- a/boehm-gc/darwin_stop_world.c +++ b/boehm-gc/darwin_stop_world.c @@ -20,19 +20,6 @@ # define PPC_RED_ZONE_SIZE 320 #endif -/* Try to work out the right way to access thread state structure members. - The structure has changed its definition in different Darwin versions. */ -/* This now defaults to the (older) names without __, thus hopefully */ -/* not breaking any existing Makefile.direct builds. */ -#if defined (HAS_PPC_THREAD_STATE___R0) || \ - defined (HAS_PPC_THREAD_STATE64___R0) || \ - defined (HAS_X86_THREAD_STATE32___EAX) || \ - defined (HAS_X86_THREAD_STATE64___RAX) -# define THREAD_FLD(x) __ ## x -#else -# define THREAD_FLD(x) x -#endif - typedef struct StackFrame { unsigned long savedSP; unsigned long savedCR; |