about summary refs log tree commit diff
path: root/nptl_db
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-04-21 19:49:50 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-04-21 19:49:50 +0200
commita91bf4e0ff4df92553e72f181ae1f60e1b36503c (patch)
tree7e7e7dcb4c797f287132d163b30b3e5609d77343 /nptl_db
parent7a7229de1da3966e5e69e7c8d4746984003db4a6 (diff)
downloadglibc-a91bf4e0ff4df92553e72f181ae1f60e1b36503c.tar.gz
glibc-a91bf4e0ff4df92553e72f181ae1f60e1b36503c.tar.xz
glibc-a91bf4e0ff4df92553e72f181ae1f60e1b36503c.zip
nptl: Move __pthread_keys global variable into libc
This prepares moving pthread_exit, and later the pthread_key_create
infrastructure.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl_db')
-rw-r--r--nptl_db/structs.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl_db/structs.def b/nptl_db/structs.def
index 6de2700f84..9173e1ab8f 100644
--- a/nptl_db/structs.def
+++ b/nptl_db/structs.def
@@ -82,7 +82,7 @@ DB_MAIN_VARIABLE (__nptl_nthreads)
 DB_VARIABLE (__nptl_last_event)
 DB_VARIABLE (__nptl_initial_report_events)
 
-DB_ARRAY_VARIABLE (__pthread_keys)
+DB_MAIN_ARRAY_VARIABLE (__pthread_keys)
 DB_STRUCT (pthread_key_struct)
 DB_STRUCT_FIELD (pthread_key_struct, seq)
 DB_STRUCT_FIELD (pthread_key_struct, destr)