diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-04-22 09:56:37 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-04-22 11:08:43 +0200 |
commit | 6573396163082f45c9b9150605f0390305e37a6c (patch) | |
tree | f767ec2296c9b18b69a823c878769f65c5cfa636 /sysdeps | |
parent | 1d67cf9e8a0194588e66fb3b7afcbdc3bf836a30 (diff) | |
download | glibc-6573396163082f45c9b9150605f0390305e37a6c.tar.gz glibc-6573396163082f45c9b9150605f0390305e37a6c.tar.xz glibc-6573396163082f45c9b9150605f0390305e37a6c.zip |
nptl: __nptl_set_robust_list_avail must be nocommon
This is required for GCC versions before 10 which default to -fcommon. Fixes commit 442e8a40da9dfa24aeebf4f1a163f0a58b12cf7e ("nptl: Move part of TCB initialization from libpthread to __tls_init_tp").
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/nptl/dl-tls_init_tp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/nptl/dl-tls_init_tp.c b/sysdeps/nptl/dl-tls_init_tp.c index c5172b7613..05d2b6cfcc 100644 --- a/sysdeps/nptl/dl-tls_init_tp.c +++ b/sysdeps/nptl/dl-tls_init_tp.c @@ -23,7 +23,7 @@ #include <tls.h> #ifndef __ASSUME_SET_ROBUST_LIST -bool __nptl_set_robust_list_avail; +bool __nptl_set_robust_list_avail __attribute__ ((nocommon)); rtld_hidden_data_def (__nptl_set_robust_list_avail) #endif |