summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/csky/dl-tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/sysdeps/csky/dl-tls.h')
-rw-r--r--libpthread/nptl/sysdeps/csky/dl-tls.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/csky/dl-tls.h b/libpthread/nptl/sysdeps/csky/dl-tls.h
new file mode 100644
index 000000000..70f7e9681
--- /dev/null
+++ b/libpthread/nptl/sysdeps/csky/dl-tls.h
@@ -0,0 +1,9 @@
+/* Type used for the representation of TLS information in the GOT. */
+typedef struct
+{
+ unsigned long int ti_module;
+ unsigned long int ti_offset;
+} tls_index;
+
+extern void *__tls_get_addr (tls_index *ti);
+