aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2021-09-15 20:11:10 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-09-16 01:04:20 +0200
commitc484da9087632f2f1b4ab5a6cae4efcd09436d1d (patch)
tree8e181995ef5404b8ac44320b9df12473e4e1ca5b /sysdeps/generic
parented2f9aaf5e901e8561cca8d0370ff3bcb2b6482b (diff)
downloadglibc-c484da9087632f2f1b4ab5a6cae4efcd09436d1d.zip
glibc-c484da9087632f2f1b4ab5a6cae4efcd09436d1d.tar.gz
glibc-c484da9087632f2f1b4ab5a6cae4efcd09436d1d.tar.bz2
elf: Remove THREAD_GSCOPE_IN_TCB
All the ports now have THREAD_GSCOPE_IN_TCB set to 1. Remove all support for !THREAD_GSCOPE_IN_TCB, along with the definition itself. Signed-off-by: Sergey Bugaev <bugaevc@gmail.com> Message-Id: <20210915171110.226187-4-bugaevc@gmail.com> Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/ldsodefs.h6
-rw-r--r--sysdeps/generic/tls.h6
2 files changed, 0 insertions, 12 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h
index f01b601..fd67871 100644
--- a/sysdeps/generic/ldsodefs.h
+++ b/sysdeps/generic/ldsodefs.h
@@ -495,10 +495,6 @@ struct rtld_global
EXTERN struct __pthread **_dl_pthread_threads;
__libc_rwlock_define (EXTERN, _dl_pthread_threads_lock)
#endif
-
-#if !THREAD_GSCOPE_IN_TCB
- EXTERN int _dl_thread_gscope_count;
-#endif
#ifdef SHARED
};
# define __rtld_global_attribute__
@@ -1381,10 +1377,8 @@ __rtld_mutex_init (void)
}
#endif /* !PTHREAD_IN_LIBC */
-#if THREAD_GSCOPE_IN_TCB
void __thread_gscope_wait (void) attribute_hidden;
# define THREAD_GSCOPE_WAIT() __thread_gscope_wait ()
-#endif
__END_DECLS
diff --git a/sysdeps/generic/tls.h b/sysdeps/generic/tls.h
index e86d70e..f581c9a 100644
--- a/sysdeps/generic/tls.h
+++ b/sysdeps/generic/tls.h
@@ -71,10 +71,4 @@
This macro returns the address of the DTV of the current thread.
This normally is done using the thread register which points
to the dtv or the TCB (from which the DTV can found).
-
-
- THREAD_GSCOPE_IN_TCB
-
- This should be set to 1 if the global scope flag is stored within the TCB.
- When set to 0, GL(_dl_thread_gscope_count) will be defined to store it.
*/