]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 13 Feb 2002 17:45:55 +0000 (17:45 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 13 Feb 2002 17:45:55 +0000 (17:45 +0000)
* elf/tst-tls1.c: Move #include "tls-macros.h" instead #ifdef USE_TLS.
* elf/tst-tls2.c: Likewise.
* elf/tst-tls3.c: Likewise.

2002-02-13  Jakub Jelinek  <jakub@redhat.com>

* elf/dl-close.c (free_slotinfo): Only define if TLS supported.

2002-02-13  Ulrich Drepper  <drepper@redhat.com>

ChangeLog
elf/dl-close.c
elf/tst-tls1.c
elf/tst-tls2.c
elf/tst-tls3.c

index 3741e02d882e2a40f31a8eedb615baefbebfa3cd..1e3fcc94a4b3686859168291950300578cd18cbd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2002-02-13  Ulrich Drepper  <drepper@redhat.com>
+
+       * elf/tst-tls1.c: Move #include "tls-macros.h" instead #ifdef USE_TLS.
+       * elf/tst-tls2.c: Likewise.
+       * elf/tst-tls3.c: Likewise.
+
+2002-02-13  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf/dl-close.c (free_slotinfo): Only define if TLS supported.
+
 2002-02-13  Ulrich Drepper  <drepper@redhat.com>
 
        * elf/dl-open.c (dl_open_worker): Only bump the generation counter
index 5c7e5dad3837507ce9254ef5acf64dbaa8567ecd..8eefb351b2e606b43e8024e5e735adc4a4a058be 100644 (file)
@@ -333,6 +333,7 @@ _dl_close (void *_map)
 }
 
 
+#ifdef USE_TLS
 static bool
 free_slotinfo (struct dtv_slotinfo_list *elemp)
 {
@@ -355,6 +356,7 @@ free_slotinfo (struct dtv_slotinfo_list *elemp)
 
   return true;
 }
+#endif
 
 
 static void
index 74e9a915b38a1b25995c09709c746b5855c58631..478f5bbdcdf6e24933684aed683040db44bce01c 100644 (file)
@@ -2,10 +2,11 @@
 #include <stdio.h>
 
 #include <tls.h>
-#include "tls-macros.h"
-
 
 #ifdef USE_TLS
+# include "tls-macros.h"
+
+
 /* Two common 'int' variables in TLS.  */
 COMMON_INT_DEF(foo);
 COMMON_INT_DEF(bar);
index a15c5f5fe8851e8ea1e809e6eb65110dc568761b..417489968ec9db2e2f93b017c1b4da68259c26f9 100644 (file)
@@ -2,10 +2,11 @@
 #include <stdio.h>
 
 #include <tls.h>
-#include "tls-macros.h"
-
 
 #ifdef USE_TLS
+# include "tls-macros.h"
+
+
 /* Two 'int' variables in TLS.  */
 VAR_INT_DEF(foo);
 VAR_INT_DEF(bar);
index 58bb183c8d4b401f73b88f61758c155e9301180a..84be43575b6c59f81f74e357d7b56223e07d4c45 100644 (file)
@@ -2,10 +2,11 @@
 #include <stdio.h>
 
 #include <tls.h>
-#include "tls-macros.h"
-
 
 #ifdef USE_TLS
+# include "tls-macros.h"
+
+
 /* One define int variable, two externs.  */
 COMMON_INT_DECL(foo);
 VAR_INT_DECL(bar);