* 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>
+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
}
+#ifdef USE_TLS
static bool
free_slotinfo (struct dtv_slotinfo_list *elemp)
{
return true;
}
+#endif
static void
#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);
#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);
#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);