configure.ac: Replaced HAS_I386_THREAD_STATE_* with HAS_X86_THREAD_STATE32_* and...
commit583cb3d38f9c3a1b93938dd851e48af24827626d
authorAndreas Tobler <a.tobler@schweiz.org>
Thu, 11 Jan 2007 20:06:45 +0000 (11 20:06 +0000)
committerAndreas Tobler <andreast@gcc.gnu.org>
Thu, 11 Jan 2007 20:06:45 +0000 (11 21:06 +0100)
tree702d33aaf045d9f70bceb0e22f3ef4a3727a2ddf
parent6f9f76e336e9ce7a1c070351e4d21e6b84c0e82c
configure.ac: Replaced HAS_I386_THREAD_STATE_* with HAS_X86_THREAD_STATE32_* and...

2007-01-11  Andreas Tobler  <a.tobler@schweiz.org>

* configure.ac: Replaced HAS_I386_THREAD_STATE_* with
HAS_X86_THREAD_STATE32_* and HAS_X86_THREAD_STATE64_* respectively.
* configure: Regenerated.
* include/private/gcconfig.h (DARWIN): Added X86_64 define for Darwin.
Added base definitions for the X86_64 Darwin port.
* include/private/gc_priv.h: Added definitions for Darwin MACH thread
operations. Moved existing THREAD_STATE info from darwin_stop_world.c.
* darwin_stop_world.c: Removed THREAD_STATE info. Added
HAS_X86_THREAD_STATE64___RAX. And replaced HAS_I386_THREAD_STATE___EAX
with HAS_X86_THREAD_STATE32___EAX.
(GC_push_all_stacks): Use GC_MACH_THREAD_STATE_COUNT. Add code for
X86_64 Darwin.
* dyn_load.c (GC_dyld_name_for_hdr): Use GC_MACH_HEADER.
(GC_dyld_image_add): Use GC_MACH_HEADER and GC_MACH_SECTION.
Distinguish between getsectbynamefromheader_64 and
getsectbynamefromheader.
(GC_dyld_image_remove): Likewise.
* os_dep.c (GC_dirty_init): Use GC_MACH_THREAD_STATE.
(catch_exception_raise): Introduce exception information for I386 and
X86_64 Darwin. Add X86_64 for exc_state.faultvaddr.

From-SVN: r120684
boehm-gc/ChangeLog
boehm-gc/configure
boehm-gc/configure.ac
boehm-gc/darwin_stop_world.c
boehm-gc/dyn_load.c
boehm-gc/include/private/gc_priv.h
boehm-gc/include/private/gcconfig.h
boehm-gc/os_dep.c