123456789101112131415161718192021222324252627282930313233343536 |
- #include <sysdeps/generic/libc-tls.c>
- #include <dl-tls.h>
- #if defined(USE_TLS) && USE_TLS
- void *
- __tls_get_addr (tls_index *ti)
- {
- dtv_t *dtv = THREAD_DTV ();
- return (char *) dtv[1].pointer.val + ti->ti_offset;
- }
- #endif
|