From 1daccf403b1bd86370eb94edca794dc106d02039 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 16 Nov 2020 19:33:30 +0100 Subject: nptl: Move stack list variables into _rtld_global Now __thread_gscope_wait (the function behind THREAD_GSCOPE_WAIT, formerly __wait_lookup_done) can be implemented directly in ld.so, eliminating the unprotected GL (dl_wait_lookup_done) function pointer. Reviewed-by: Adhemerval Zanella --- elf/dl-thread_gscope_wait.c | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 elf/dl-thread_gscope_wait.c (limited to 'elf/dl-thread_gscope_wait.c') diff --git a/elf/dl-thread_gscope_wait.c b/elf/dl-thread_gscope_wait.c new file mode 100644 index 0000000..28e1494 --- /dev/null +++ b/elf/dl-thread_gscope_wait.c @@ -0,0 +1,2 @@ +/* By default, the dynamic linker does not use an out-of-line + __thread_gscope_wait function. */ -- cgit v1.1