aboutsummaryrefslogtreecommitdiff
path: root/tls.make.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-26 22:49:50 +0000
committerRoland McGrath <roland@gnu.org>2003-03-26 22:49:50 +0000
commit04676765f4f66b0c58e47f4eff7781dbdc8e7c8d (patch)
tree09d0b639ff410613049e86944a72d57b4de800ac /tls.make.c
parentd8e94af60b56d86bdb59acc93d8396fb4e3ce770 (diff)
downloadglibc-04676765f4f66b0c58e47f4eff7781dbdc8e7c8d.tar
glibc-04676765f4f66b0c58e47f4eff7781dbdc8e7c8d.tar.gz
glibc-04676765f4f66b0c58e47f4eff7781dbdc8e7c8d.tar.bz2
glibc-04676765f4f66b0c58e47f4eff7781dbdc8e7c8d.zip
* sysdeps/unix/make-syscalls.sh: When an undefined syscall has
SOURCE=-, append its symbol names to make variable unix-stub-syscalls. * sysdeps/unix/Makefile [$(subdir) = misc] [unix-stub-syscalls] (sysdep_routines): Add stub-syscalls. ($(objpfx)stub-syscalls.c): New target. (generated): Add stub-syscalls.c. * tls.make.c: Also define use-tls according to USE_TLS macro.
Diffstat (limited to 'tls.make.c')
-rw-r--r--tls.make.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tls.make.c b/tls.make.c
index 6bcd2479c6..778d8ef0be 100644
--- a/tls.make.c
+++ b/tls.make.c
@@ -2,6 +2,12 @@
#include <tls.h>
+#if USE_TLS
+@@@ use-tls = yes @@@
+#else
+@@@ use-tls = no @@@
+#endif
+
#if USE___THREAD
@@@ use-thread = yes @@@
#else