mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
<libc-symbols.h>: Add libpthread hidden alias support
Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
parent
7bf1094e82
commit
e3022f4bcd
@ -737,6 +737,29 @@ for linking")
|
||||
# define libresolv_hidden_data_ver(local, name)
|
||||
#endif
|
||||
|
||||
#if IS_IN (libpthread)
|
||||
# define libpthread_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
|
||||
# define libpthread_hidden_tls_proto(name, attrs...) \
|
||||
hidden_tls_proto (name, ##attrs)
|
||||
# define libpthread_hidden_def(name) hidden_def (name)
|
||||
# define libpthread_hidden_weak(name) hidden_weak (name)
|
||||
# define libpthread_hidden_ver(local, name) hidden_ver (local, name)
|
||||
# define libpthread_hidden_data_def(name) hidden_data_def (name)
|
||||
# define libpthread_hidden_tls_def(name) hidden_tls_def (name)
|
||||
# define libpthread_hidden_data_weak(name) hidden_data_weak (name)
|
||||
# define libpthread_hidden_data_ver(local, name) hidden_data_ver (local, name)
|
||||
#else
|
||||
# define libpthread_hidden_proto(name, attrs...)
|
||||
# define libpthread_hidden_tls_proto(name, attrs...)
|
||||
# define libpthread_hidden_def(name)
|
||||
# define libpthread_hidden_weak(name)
|
||||
# define libpthread_hidden_ver(local, name)
|
||||
# define libpthread_hidden_data_def(name)
|
||||
# define libpthread_hidden_tls_def(name)
|
||||
# define libpthread_hidden_data_weak(name)
|
||||
# define libpthread_hidden_data_ver(local, name)
|
||||
#endif
|
||||
|
||||
#if IS_IN (librt)
|
||||
# define librt_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
|
||||
# define librt_hidden_tls_proto(name, attrs...) \
|
||||
|
Loading…
Reference in New Issue
Block a user