diff --git a/runtime/GCCLibraries/libpthread/Makefile b/runtime/GCCLibraries/libpthread/Makefile new file mode 100644 index 00000000000..b3de4284076 --- /dev/null +++ b/runtime/GCCLibraries/libpthread/Makefile @@ -0,0 +1,14 @@ +##===- runtime/GCCLibraries/libpthread/Makefile ------------*- Makefile -*-===## +# +# The LLVM Compiler Infrastructure +# +# This file was developed by the LLVM research group and is distributed under +# the University of Illinois Open Source License. See LICENSE.TXT for details. +# +##===----------------------------------------------------------------------===## +LEVEL = ../../.. +BYTECODE_LIBRARY=1 +DONT_BUILD_RELINKED=1 +LIBRARYNAME=pthread + +include $(LEVEL)/Makefile.common diff --git a/runtime/GCCLibraries/libpthread/pthread.c b/runtime/GCCLibraries/libpthread/pthread.c new file mode 100644 index 00000000000..cb5818ccc2f --- /dev/null +++ b/runtime/GCCLibraries/libpthread/pthread.c @@ -0,0 +1,8 @@ +#include + +int +pthread_once (pthread_once_t * control, void (*func) (void)) +{ + return 0; +} +