summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/csky/dl-tls.h
blob: ebf1a7dc31e079f687639368615582092a29e31f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
 *
 * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
 * in this tarball.
 */

/* 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);