* 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>
This commit is contained in:
Ulrich Drepper 2002-02-13 17:45:55 +00:00
parent d552a4310c
commit 100e184f0f
5 changed files with 21 additions and 6 deletions

View File

@ -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

View 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

View 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);

View 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);

View 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);