mirror of git://gcc.gnu.org/git/gcc.git
2013-03-20 Robert Mason <rbmj@verizon.net>
* config/vxlib-tls.c (__gthread_get_tsd_data,) (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,) (__gthread_leave_tsd_dtor_context): Add prototypes. (tls_delete_hook): Update. From-SVN: r196842
This commit is contained in:
parent
813e003617
commit
d2ae19d976
|
|
@ -1,3 +1,10 @@
|
||||||
|
2013-03-20 Robert Mason <rbmj@verizon.net>
|
||||||
|
|
||||||
|
* config/vxlib-tls.c (__gthread_get_tsd_data,)
|
||||||
|
(__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
|
||||||
|
(__gthread_leave_tsd_dtor_context): Add prototypes.
|
||||||
|
(tls_delete_hook): Update.
|
||||||
|
|
||||||
2013-03-20 Catherine Moore <clm@codesourcery.com>
|
2013-03-20 Catherine Moore <clm@codesourcery.com>
|
||||||
Joseph Myers <joseph@codesourcery.com>
|
Joseph Myers <joseph@codesourcery.com>
|
||||||
Chao-ying Fu <fu@mips.com>
|
Chao-ying Fu <fu@mips.com>
|
||||||
|
|
|
||||||
|
|
@ -102,6 +102,14 @@ extern void __gthread_set_tls_data (void *data);
|
||||||
extern void __gthread_enter_tls_dtor_context (void);
|
extern void __gthread_enter_tls_dtor_context (void);
|
||||||
extern void __gthread_leave_tls_dtor_context (void);
|
extern void __gthread_leave_tls_dtor_context (void);
|
||||||
|
|
||||||
|
#ifndef __RTP__
|
||||||
|
|
||||||
|
extern void *__gthread_get_tsd_data (WIND_TCB *tcb);
|
||||||
|
extern void __gthread_set_tsd_data (WIND_TCB *tcb, void *data);
|
||||||
|
extern void __gthread_enter_tsd_dtor_context (WIND_TCB *tcb);
|
||||||
|
extern void __gthread_leave_tsd_dtor_context (WIND_TCB *tcb);
|
||||||
|
|
||||||
|
#endif /* __RTP__ */
|
||||||
|
|
||||||
/* This is a global structure which records all of the active keys.
|
/* This is a global structure which records all of the active keys.
|
||||||
|
|
||||||
|
|
@ -185,7 +193,7 @@ tls_delete_hook (void *tcb ATTRIBUTE_UNUSED)
|
||||||
#ifdef __RTP__
|
#ifdef __RTP__
|
||||||
__gthread_leave_tls_dtor_context ();
|
__gthread_leave_tls_dtor_context ();
|
||||||
#else
|
#else
|
||||||
__gthread_leave_tsd_dtor_context ();
|
__gthread_leave_tsd_dtor_context (tcb);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __RTP__
|
#ifdef __RTP__
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue