Back to index

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

Go to the source code of this file.

Classes

struct  tls_index

Defines

#define TLS_TP_OFFSET   0x7000
#define TLS_DTV_OFFSET   0x8000
#define TLS_TPREL_VALUE(sym_map, sym, reloc)
#define TLS_DTPREL_VALUE(sym, reloc)   ((sym)->st_value + (reloc)->r_addend - TLS_DTV_OFFSET)

Class Documentation

struct tls_index

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

Class Members
unsigned long int ti_module
unsigned long int ti_offset

Define Documentation

#define TLS_DTPREL_VALUE (   sym,
  reloc 
)    ((sym)->st_value + (reloc)->r_addend - TLS_DTV_OFFSET)

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

#define TLS_DTV_OFFSET   0x8000

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

#define TLS_TP_OFFSET   0x7000

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

#define TLS_TPREL_VALUE (   sym_map,
  sym,
  reloc 
)
Value:
((sym_map)->l_tls_offset + (sym)->st_value + (reloc)->r_addend \
   - TLS_TP_OFFSET)

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