diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-04-21 19:49:50 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-04-21 19:49:50 +0200 |
commit | 4647ce82c733d1453611e35236b786ecd7faf598 (patch) | |
tree | 32c72ddfeca5dda088deccec73729f20bfe93b69 /nptl/pthreadP.h | |
parent | 5a3140b48978f0f690a5fee2f4a53705c02aabac (diff) | |
download | glibc-4647ce82c733d1453611e35236b786ecd7faf598.tar glibc-4647ce82c733d1453611e35236b786ecd7faf598.tar.gz glibc-4647ce82c733d1453611e35236b786ecd7faf598.tar.bz2 glibc-4647ce82c733d1453611e35236b786ecd7faf598.zip |
nptl: Move __pthread_cleanup_upto into libc
This internal symbol is used as part of the longjmp implementation.
Rename the file from nptl/pt-cleanup.c to nptl/pthread_cleanup_upto.c
so that the pt-* files remain restricted to libpthread.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r-- | nptl/pthreadP.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h index 9cc968222f..ab0e92f2ca 100644 --- a/nptl/pthreadP.h +++ b/nptl/pthreadP.h @@ -332,9 +332,7 @@ extern int __make_stacks_executable (void **stack_endp) attribute_hidden; /* longjmp handling. */ extern void __pthread_cleanup_upto (__jmp_buf target, char *targetframe); -#if IS_IN (libpthread) -hidden_proto (__pthread_cleanup_upto) -#endif +libc_hidden_proto (__pthread_cleanup_upto) /* Functions with versioned interfaces. */ |