Back to index

glibc  2.9
Defines | Functions
dl-tls.h File Reference

Go to the source code of this file.


#define GET_ADDR_ARGS   size_t m, size_t offset
#define GET_ADDR_MODULE   m
#define GET_ADDR_OFFSET   offset
#define DONT_USE_TLS_INDEX   1


void * __tls_get_addr (size_t m, size_t offset)

Define Documentation

#define DONT_USE_TLS_INDEX   1

Definition at line 28 of file dl-tls.h.

Definition at line 23 of file dl-tls.h.

#define GET_ADDR_MODULE   m

Definition at line 24 of file dl-tls.h.

#define GET_ADDR_OFFSET   offset

Definition at line 25 of file dl-tls.h.

Function Documentation

void* __tls_get_addr ( size_t  m,
size_t  offset 

Definition at line 28 of file libc-tls.c.

  dtv_t *dtv = THREAD_DTV ();
  return (char *) dtv[1].pointer.val + offset;