about summary refs log tree commit diff
path: root/src/internal/pthread_impl.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-10-04 21:01:56 -0400
committerRich Felker <dalias@aerifal.cx>2012-10-04 21:01:56 -0400
commit9b153c043ea486d28f96a7e01419f650fe0e1b26 (patch)
tree33472c9ec71eb7464d4fc97a168c0dba1b20ca5c /src/internal/pthread_impl.h
parentbc6a35fb7b02f068b901f22a56559996395cfd3b (diff)
downloadmusl-9b153c043ea486d28f96a7e01419f650fe0e1b26.tar.gz
musl-9b153c043ea486d28f96a7e01419f650fe0e1b26.tar.xz
musl-9b153c043ea486d28f96a7e01419f650fe0e1b26.zip
beginnings of full TLS support in shared libraries
this code will not work yet because the necessary relocations are not
supported, and cannot be supported without some internal changes to
how relocation processing works (coming soon).
Diffstat (limited to 'src/internal/pthread_impl.h')
-rw-r--r--src/internal/pthread_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h
index 56b92b22..f7facba3 100644
--- a/src/internal/pthread_impl.h
+++ b/src/internal/pthread_impl.h
@@ -22,7 +22,7 @@
 
 struct pthread {
 	struct pthread *self;
-	void *dtv, *unused1, *unused2;
+	void **dtv, *unused1, *unused2;
 	uintptr_t sysinfo;
 	uintptr_t canary;
 	pid_t tid, pid;