ifeq ($(subdir),io)
sysdep_routines += xstatconv
endif
+
+ifeq ($(subdir),nptl)
+# XXX temporary hack
+libpthread-routines := $(filter-out ptw-%,$(libpthread-routines))
+endif
GLIBC_2.17 {
nacl_interface_query;
}
+
+ GLIBC_PRIVATE {
+ # These are used by libpthread.
+ __libc_write;
+ __libc_open;
+ __libc_close;
+ __libc_fork;
+ }
}
-/* Low-level locking access to futex facilities. Stub version.
+/* Low-level locking access to futex facilities. NaCl version.
Copyright (C) 2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
#include <stdlib.h>
static void
-profil_counter (int signr, int code, struct sigcontext *scp)
+__profil_counter (int signr, int code, struct sigcontext *scp)
{
abort ();
}
+#if IS_IN (libpthread)
+
/* This placeholder file prevents nptl/sigaction.c from being compiled.
For NaCl, there is no need for a separate sigaction in libpthread. */
+
+#else
+
+/* Get the standard stub. */
+#include <signal/sigaction.c>
+
+#endif