Fix various bugs getting in the way of licq starting up.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@150 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_libpthread_unimp.c b/coregrind/vg_libpthread_unimp.c
index 24c154c..d01dc5b 100644
--- a/coregrind/vg_libpthread_unimp.c
+++ b/coregrind/vg_libpthread_unimp.c
@@ -13,7 +13,7 @@
 //void __connect ( void )  { unimp("__connect"); }
 //void __errno_location ( void )  { unimp("__errno_location"); }
 //void __fcntl ( void )  { unimp("__fcntl"); }
-void __fork ( void )  { unimp("__fork"); }
+//void __fork ( void )  { unimp("__fork"); }
 //void __h_errno_location ( void )  { unimp("__h_errno_location"); }
 void __libc_allocate_rtsig ( void )  { unimp("__libc_allocate_rtsig"); }
 void __libc_current_sigrtmax ( void )  { unimp("__libc_current_sigrtmax"); }
@@ -22,14 +22,14 @@
 //void __open ( void )  { unimp("__open"); }
 //void __open64 ( void )  { unimp("__open64"); }
 void __pread64 ( void )  { unimp("__pread64"); }
-void __pthread_atfork ( void )  { unimp("__pthread_atfork"); }
+//void __pthread_atfork ( void )  { unimp("__pthread_atfork"); }
 //void __pthread_getspecific ( void )  { unimp("__pthread_getspecific"); }
 //void __pthread_key_create ( void )  { unimp("__pthread_key_create"); }
-void __pthread_kill_other_threads_np ( void )  { unimp("__pthread_kill_other_threads_np"); }
+//void __pthread_kill_other_threads_np ( void )  { unimp("__pthread_kill_other_threads_np"); }
 //void __pthread_mutex_destroy ( void )  { unimp("__pthread_mutex_destroy"); }
 //void __pthread_mutex_init ( void )  { unimp("__pthread_mutex_init"); }
 //void __pthread_mutex_lock ( void )  { unimp("__pthread_mutex_lock"); }
-void __pthread_mutex_trylock ( void )  { unimp("__pthread_mutex_trylock"); }
+//void __pthread_mutex_trylock ( void )  { unimp("__pthread_mutex_trylock"); }
 //void __pthread_mutex_unlock ( void )  { unimp("__pthread_mutex_unlock"); }
 //void __pthread_mutexattr_destroy ( void )  { unimp("__pthread_mutexattr_destroy"); }
 //void __pthread_mutexattr_init ( void )  { unimp("__pthread_mutexattr_init"); }
@@ -49,7 +49,7 @@
 void _pthread_cleanup_push ( void )  { unimp("_pthread_cleanup_push"); }
 //void _pthread_cleanup_push_defer ( void )  { unimp("_pthread_cleanup_push_defer"); }
 //void longjmp ( void )  { unimp("longjmp"); }
-void pthread_atfork ( void )  { unimp("pthread_atfork"); }
+//void pthread_atfork ( void )  { unimp("pthread_atfork"); }
 //void pthread_attr_destroy ( void )  { unimp("pthread_attr_destroy"); }
 void pthread_attr_getdetachstate ( void )  { unimp("pthread_attr_getdetachstate"); }
 void pthread_attr_getinheritsched ( void )  { unimp("pthread_attr_getinheritsched"); }
@@ -79,7 +79,7 @@
 void pthread_condattr_getpshared ( void )  { unimp("pthread_condattr_getpshared"); }
 //void pthread_condattr_init ( void )  { unimp("pthread_condattr_init"); }
 void pthread_condattr_setpshared ( void )  { unimp("pthread_condattr_setpshared"); }
-void pthread_detach ( void )  { unimp("pthread_detach"); }
+//void pthread_detach ( void )  { unimp("pthread_detach"); }
 //void pthread_equal ( void )  { unimp("pthread_equal"); }
 //void pthread_exit ( void )  { unimp("pthread_exit"); }
 void pthread_getattr_np ( void )  { unimp("pthread_getattr_np"); }
@@ -115,12 +115,12 @@
 void pthread_rwlockattr_setkind_np ( void )  { unimp("pthread_rwlockattr_setkind_np"); }
 void pthread_rwlockattr_setpshared ( void )  { unimp("pthread_rwlockattr_setpshared"); }
 //void pthread_self ( void )  { unimp("pthread_self"); }
-void pthread_setcancelstate ( void )  { unimp("pthread_setcancelstate"); }
+//void pthread_setcancelstate ( void )  { unimp("pthread_setcancelstate"); }
 //void pthread_setcanceltype ( void )  { unimp("pthread_setcanceltype"); }
 //void pthread_setschedparam ( void )  { unimp("pthread_setschedparam"); }
 //void pthread_setspecific ( void )  { unimp("pthread_setspecific"); }
 void pthread_sigmask ( void )  { unimp("pthread_sigmask"); }
-void pthread_testcancel ( void )  { unimp("pthread_testcancel"); }
+//void pthread_testcancel ( void )  { unimp("pthread_testcancel"); }
 void raise ( void )  { unimp("raise"); }
 void sem_close ( void )  { unimp("sem_close"); }
 void sem_open ( void )  { unimp("sem_open"); }