Fix DATASTART (and other minor improvements) for NaCl target
authorElijah Taylor <elijahtaylor@google.com>
Tue, 9 Aug 2011 20:03:46 +0000 (22:03 +0200)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 4 Mar 2012 15:11:39 +0000 (19:11 +0400)
commit14f2760d584c18fc8a1f305f5ed0a6d13ff5918a
treecaa6aaf6830c6b89e3b99e484af8cf33da80a0ec
parent267900688be347014ccd2040e867531b66ea20f5
Fix DATASTART (and other minor improvements) for NaCl target

* include/private/gcconfig.h (DATASTART): Define to a fixed address
for NaCl.
* pthread_stop_world.c (GC_suspend_all): Issue GC warning if it
appears stalled waiting for some threads to park (NaCl only).
* pthread_stop_world.c (nacl_register_gc_hooks): Declare external
function (available from NaCl runtime).
* pthread_stop_world.c (GC_nacl_initialize_gc_thread): Invoke
nacl_register_gc_hooks registring nacl_pre_syscall_hook and
nacl_post_syscall_hook (NaCl only).
include/private/gcconfig.h
pthread_stop_world.c