Dummy implementation of the pthread library.
This is needed since libstdc++ uses pthread_once().


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10360 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/runtime/GCCLibraries/libpthread/pthread.c b/runtime/GCCLibraries/libpthread/pthread.c
new file mode 100644
index 0000000..cb5818c
--- /dev/null
+++ b/runtime/GCCLibraries/libpthread/pthread.c
@@ -0,0 +1,8 @@
+#include <pthread.h>
+
+int
+pthread_once (pthread_once_t * control, void (*func) (void))
+{
+  return 0;
+}
+