Update.
* 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:
parent
d552a4310c
commit
100e184f0f
10
ChangeLog
10
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>
|
2002-02-13 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* elf/dl-open.c (dl_open_worker): Only bump the generation counter
|
* elf/dl-open.c (dl_open_worker): Only bump the generation counter
|
||||||
|
@ -333,6 +333,7 @@ _dl_close (void *_map)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef USE_TLS
|
||||||
static bool
|
static bool
|
||||||
free_slotinfo (struct dtv_slotinfo_list *elemp)
|
free_slotinfo (struct dtv_slotinfo_list *elemp)
|
||||||
{
|
{
|
||||||
@ -355,6 +356,7 @@ free_slotinfo (struct dtv_slotinfo_list *elemp)
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -2,10 +2,11 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <tls.h>
|
#include <tls.h>
|
||||||
#include "tls-macros.h"
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef USE_TLS
|
#ifdef USE_TLS
|
||||||
|
# include "tls-macros.h"
|
||||||
|
|
||||||
|
|
||||||
/* Two common 'int' variables in TLS. */
|
/* Two common 'int' variables in TLS. */
|
||||||
COMMON_INT_DEF(foo);
|
COMMON_INT_DEF(foo);
|
||||||
COMMON_INT_DEF(bar);
|
COMMON_INT_DEF(bar);
|
||||||
|
@ -2,10 +2,11 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <tls.h>
|
#include <tls.h>
|
||||||
#include "tls-macros.h"
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef USE_TLS
|
#ifdef USE_TLS
|
||||||
|
# include "tls-macros.h"
|
||||||
|
|
||||||
|
|
||||||
/* Two 'int' variables in TLS. */
|
/* Two 'int' variables in TLS. */
|
||||||
VAR_INT_DEF(foo);
|
VAR_INT_DEF(foo);
|
||||||
VAR_INT_DEF(bar);
|
VAR_INT_DEF(bar);
|
||||||
|
@ -2,10 +2,11 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <tls.h>
|
#include <tls.h>
|
||||||
#include "tls-macros.h"
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef USE_TLS
|
#ifdef USE_TLS
|
||||||
|
# include "tls-macros.h"
|
||||||
|
|
||||||
|
|
||||||
/* One define int variable, two externs. */
|
/* One define int variable, two externs. */
|
||||||
COMMON_INT_DECL(foo);
|
COMMON_INT_DECL(foo);
|
||||||
VAR_INT_DECL(bar);
|
VAR_INT_DECL(bar);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user