dl-tls.h 482 B

123456789101112131415161718
  1. /*
  2. * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
  3. *
  4. * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
  5. * in this tarball.
  6. */
  7. /* Type used for the representation of TLS information in the GOT. */
  8. typedef struct
  9. {
  10. unsigned long int ti_module;
  11. unsigned long int ti_offset;
  12. } tls_index;
  13. extern void *__tls_get_addr (tls_index *ti);
  14. /* Value used for dtv entries for which the allocation is delayed. */
  15. #define TLS_DTV_UNALLOCATED ((void *) -1l)