mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-24 03:31:07 +00:00
nptl: Export _pthread_cleanup_push, _pthread_cleanup_pop again
These were turned into compat symbols as part of the libpthread move. It turns out they are used by language run-time libraries (e.g., the GCC D front end), so it makes to preserve them as external symbols even though they are not declared in any header file. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
parent
dbdc57dc81
commit
aa9a7f6296
@ -260,6 +260,8 @@ libc {
|
||||
__pthread_unregister_cancel;
|
||||
__pthread_unregister_cancel_restore;
|
||||
__pthread_unwind_next;
|
||||
_pthread_cleanup_pop;
|
||||
_pthread_cleanup_push;
|
||||
call_once;
|
||||
cnd_broadcast;
|
||||
cnd_destroy;
|
||||
|
@ -33,6 +33,8 @@ __pthread_cleanup_push (struct _pthread_cleanup_buffer *buffer,
|
||||
THREAD_SETMEM (self, cleanup, buffer);
|
||||
}
|
||||
libc_hidden_def (__pthread_cleanup_push)
|
||||
versioned_symbol (libc, __pthread_cleanup_push, _pthread_cleanup_push,
|
||||
GLIBC_2_34);
|
||||
|
||||
void
|
||||
__pthread_cleanup_pop (struct _pthread_cleanup_buffer *buffer, int execute)
|
||||
@ -47,6 +49,8 @@ __pthread_cleanup_pop (struct _pthread_cleanup_buffer *buffer, int execute)
|
||||
buffer->__routine (buffer->__arg);
|
||||
}
|
||||
libc_hidden_def (__pthread_cleanup_pop)
|
||||
versioned_symbol (libc, __pthread_cleanup_pop, _pthread_cleanup_pop,
|
||||
GLIBC_2_34);
|
||||
|
||||
#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_34)
|
||||
compat_symbol (libpthread, __pthread_cleanup_push, _pthread_cleanup_push,
|
||||
|
@ -2344,6 +2344,8 @@ GLIBC_2.34 __pthread_register_cancel_defer F
|
||||
GLIBC_2.34 __pthread_unregister_cancel F
|
||||
GLIBC_2.34 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.34 __pthread_unwind_next F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2437,6 +2437,8 @@ GLIBC_2.34 __pthread_register_cancel_defer F
|
||||
GLIBC_2.34 __pthread_unregister_cancel F
|
||||
GLIBC_2.34 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.34 __pthread_unwind_next F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2103,6 +2103,8 @@ GLIBC_2.34 __pthread_register_cancel_defer F
|
||||
GLIBC_2.34 __pthread_unregister_cancel F
|
||||
GLIBC_2.34 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.34 __pthread_unwind_next F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -276,6 +276,8 @@ GLIBC_2.34 __utimensat64 F
|
||||
GLIBC_2.34 __utimes64 F
|
||||
GLIBC_2.34 __wait3_time64 F
|
||||
GLIBC_2.34 __wait4_time64 F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -273,6 +273,8 @@ GLIBC_2.34 __utimensat64 F
|
||||
GLIBC_2.34 __utimes64 F
|
||||
GLIBC_2.34 __wait3_time64 F
|
||||
GLIBC_2.34 __wait4_time64 F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2363,6 +2363,8 @@ GLIBC_2.34 __utimensat64 F
|
||||
GLIBC_2.34 __utimes64 F
|
||||
GLIBC_2.34 __wait3_time64 F
|
||||
GLIBC_2.34 __wait4_time64 F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2317,6 +2317,8 @@ GLIBC_2.34 __utimensat64 F
|
||||
GLIBC_2.34 __utimes64 F
|
||||
GLIBC_2.34 __wait3_time64 F
|
||||
GLIBC_2.34 __wait4_time64 F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2501,6 +2501,8 @@ GLIBC_2.34 __utimensat64 F
|
||||
GLIBC_2.34 __utimes64 F
|
||||
GLIBC_2.34 __wait3_time64 F
|
||||
GLIBC_2.34 __wait4_time64 F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2277,6 +2277,8 @@ GLIBC_2.34 __pthread_register_cancel_defer F
|
||||
GLIBC_2.34 __pthread_unregister_cancel F
|
||||
GLIBC_2.34 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.34 __pthread_unwind_next F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -277,6 +277,8 @@ GLIBC_2.34 __utimensat64 F
|
||||
GLIBC_2.34 __utimes64 F
|
||||
GLIBC_2.34 __wait3_time64 F
|
||||
GLIBC_2.34 __wait4_time64 F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2444,6 +2444,8 @@ GLIBC_2.34 __utimensat64 F
|
||||
GLIBC_2.34 __utimes64 F
|
||||
GLIBC_2.34 __wait3_time64 F
|
||||
GLIBC_2.34 __wait4_time64 F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2414,6 +2414,8 @@ GLIBC_2.34 __utimensat64 F
|
||||
GLIBC_2.34 __utimes64 F
|
||||
GLIBC_2.34 __wait3_time64 F
|
||||
GLIBC_2.34 __wait4_time64 F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2411,6 +2411,8 @@ GLIBC_2.34 __utimensat64 F
|
||||
GLIBC_2.34 __utimes64 F
|
||||
GLIBC_2.34 __wait3_time64 F
|
||||
GLIBC_2.34 __wait4_time64 F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2409,6 +2409,8 @@ GLIBC_2.34 __utimensat64 F
|
||||
GLIBC_2.34 __utimes64 F
|
||||
GLIBC_2.34 __wait3_time64 F
|
||||
GLIBC_2.34 __wait4_time64 F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2407,6 +2407,8 @@ GLIBC_2.34 __utimensat64 F
|
||||
GLIBC_2.34 __utimes64 F
|
||||
GLIBC_2.34 __wait3_time64 F
|
||||
GLIBC_2.34 __wait4_time64 F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2415,6 +2415,8 @@ GLIBC_2.34 __utimensat64 F
|
||||
GLIBC_2.34 __utimes64 F
|
||||
GLIBC_2.34 __wait3_time64 F
|
||||
GLIBC_2.34 __wait4_time64 F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2333,6 +2333,8 @@ GLIBC_2.34 __pthread_register_cancel_defer F
|
||||
GLIBC_2.34 __pthread_unregister_cancel F
|
||||
GLIBC_2.34 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.34 __pthread_unwind_next F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2453,6 +2453,8 @@ GLIBC_2.34 __utimensat64 F
|
||||
GLIBC_2.34 __utimes64 F
|
||||
GLIBC_2.34 __wait3_time64 F
|
||||
GLIBC_2.34 __wait4_time64 F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2471,6 +2471,8 @@ GLIBC_2.34 __utimensat64 F
|
||||
GLIBC_2.34 __utimes64 F
|
||||
GLIBC_2.34 __wait3_time64 F
|
||||
GLIBC_2.34 __wait4_time64 F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2504,6 +2504,8 @@ GLIBC_2.34 __utimensat64 F
|
||||
GLIBC_2.34 __utimes64 F
|
||||
GLIBC_2.34 __wait3_time64 F
|
||||
GLIBC_2.34 __wait4_time64 F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2241,6 +2241,8 @@ GLIBC_2.34 __pthread_register_cancel_defer F
|
||||
GLIBC_2.34 __pthread_unregister_cancel F
|
||||
GLIBC_2.34 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.34 __pthread_unwind_next F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2540,6 +2540,8 @@ GLIBC_2.34 __pthread_register_cancel_defer F
|
||||
GLIBC_2.34 __pthread_unregister_cancel F
|
||||
GLIBC_2.34 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.34 __pthread_unwind_next F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2105,6 +2105,8 @@ GLIBC_2.34 __pthread_register_cancel_defer F
|
||||
GLIBC_2.34 __pthread_unregister_cancel F
|
||||
GLIBC_2.34 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.34 __pthread_unwind_next F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2305,6 +2305,8 @@ GLIBC_2.34 __pthread_register_cancel_defer F
|
||||
GLIBC_2.34 __pthread_unregister_cancel F
|
||||
GLIBC_2.34 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.34 __pthread_unwind_next F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2469,6 +2469,8 @@ GLIBC_2.34 __utimensat64 F
|
||||
GLIBC_2.34 __utimes64 F
|
||||
GLIBC_2.34 __wait3_time64 F
|
||||
GLIBC_2.34 __wait4_time64 F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2278,6 +2278,8 @@ GLIBC_2.34 __pthread_register_cancel_defer F
|
||||
GLIBC_2.34 __pthread_unregister_cancel F
|
||||
GLIBC_2.34 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.34 __pthread_unwind_next F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2324,6 +2324,8 @@ GLIBC_2.34 __utimensat64 F
|
||||
GLIBC_2.34 __utimes64 F
|
||||
GLIBC_2.34 __wait3_time64 F
|
||||
GLIBC_2.34 __wait4_time64 F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2321,6 +2321,8 @@ GLIBC_2.34 __utimensat64 F
|
||||
GLIBC_2.34 __utimes64 F
|
||||
GLIBC_2.34 __wait3_time64 F
|
||||
GLIBC_2.34 __wait4_time64 F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2462,6 +2462,8 @@ GLIBC_2.34 __utimensat64 F
|
||||
GLIBC_2.34 __utimes64 F
|
||||
GLIBC_2.34 __wait3_time64 F
|
||||
GLIBC_2.34 __wait4_time64 F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2298,6 +2298,8 @@ GLIBC_2.34 __pthread_register_cancel_defer F
|
||||
GLIBC_2.34 __pthread_unregister_cancel F
|
||||
GLIBC_2.34 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.34 __pthread_unwind_next F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2256,6 +2256,8 @@ GLIBC_2.34 __pthread_register_cancel_defer F
|
||||
GLIBC_2.34 __pthread_unregister_cancel F
|
||||
GLIBC_2.34 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.34 __pthread_unwind_next F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
@ -2359,6 +2359,8 @@ GLIBC_2.34 __pthread_register_cancel_defer F
|
||||
GLIBC_2.34 __pthread_unregister_cancel F
|
||||
GLIBC_2.34 __pthread_unregister_cancel_restore F
|
||||
GLIBC_2.34 __pthread_unwind_next F
|
||||
GLIBC_2.34 _pthread_cleanup_pop F
|
||||
GLIBC_2.34 _pthread_cleanup_push F
|
||||
GLIBC_2.34 call_once F
|
||||
GLIBC_2.34 cnd_broadcast F
|
||||
GLIBC_2.34 cnd_destroy F
|
||||
|
Loading…
Reference in New Issue
Block a user