* sysdeps/unix/make-syscalls.sh: When an undefined syscall has
authorRoland McGrath <roland@gnu.org>
Wed, 26 Mar 2003 22:49:50 +0000 (22:49 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 26 Mar 2003 22:49:50 +0000 (22:49 +0000)
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.

ChangeLog
tls.make.c

index c2a56cb..076fb85 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2003-03-26  Roland McGrath  <roland@redhat.com>
+
+       * 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.
+
 2003-03-26  Ulrich Drepper  <drepper@redhat.com>
 
        * abilist/librt.abilist: Add new timer interfaces for 64-bit archs.
index 6bcd247..778d8ef 100644 (file)
@@ -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