summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authormkuvyrkov <mkuvyrkov@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-20 22:01:25 +0000
committermkuvyrkov <mkuvyrkov@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-20 22:01:25 +0000
commita5487e417646f9fabf4047202ac4f092ace77890 (patch)
treea2cc1e51d7fe7076595cb60a1f2ed17cb997dd14 /libgcc
parent59ff41d8ef1f9b5d2e85d1f734d8440f915eb58f (diff)
downloadgcc-a5487e417646f9fabf4047202ac4f092ace77890.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196842 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog7
-rw-r--r--libgcc/config/vxlib-tls.c10
2 files changed, 16 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 3ebec3bd1f5..e0556b45012 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -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>
Joseph Myers <joseph@codesourcery.com>
Chao-ying Fu <fu@mips.com>
diff --git a/libgcc/config/vxlib-tls.c b/libgcc/config/vxlib-tls.c
index 8f88c6f2ab4..5c696034b37 100644
--- a/libgcc/config/vxlib-tls.c
+++ b/libgcc/config/vxlib-tls.c
@@ -102,6 +102,14 @@ extern void __gthread_set_tls_data (void *data);
extern void __gthread_enter_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.
@@ -185,7 +193,7 @@ tls_delete_hook (void *tcb ATTRIBUTE_UNUSED)
#ifdef __RTP__
__gthread_leave_tls_dtor_context ();
#else
- __gthread_leave_tsd_dtor_context ();
+ __gthread_leave_tsd_dtor_context (tcb);
#endif
#ifdef __RTP__