Try and give at least some minimal binding for all functions exported
by the real libpthread.so.  In the process fix a bunch of stuff, including
adding thread-specific h_errno and resolver state storage.  This fixes
licq crashing at startup.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@149 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/Makefile.am b/coregrind/Makefile.am
index d30bb82..63e82d8 100644
--- a/coregrind/Makefile.am
+++ b/coregrind/Makefile.am
@@ -28,7 +28,7 @@
 
 val_PROGRAMS = valgrind.so valgrinq.so libpthread.so
 
-libpthread_so_SOURCES = vg_libpthread.c
+libpthread_so_SOURCES = vg_libpthread.c vg_libpthread_unimp.c
 
 valgrinq_so_SOURCES = vg_valgrinq_dummy.c