tcb-offsets.sym 256 B

123456789
  1. #include <sysdep.h>
  2. #include <tls.h>
  3. --
  4. #ifdef USE_TLS
  5. MULTIPLE_THREADS_OFFSET offsetof (struct _pthread_descr_struct, p_multiple_threads) - sizeof (struct _pthread_descr_struct)
  6. #else
  7. MULTIPLE_THREADS_OFFSET offsetof (tcbhead_t, multiple_threads)
  8. #endif