Blame sysdeps/microblaze/nptl/tcb-offsets.sym
|
Packit Service |
82fcde |
#include <sysdep.h>
|
|
Packit Service |
82fcde |
#include <tls.h>
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
--
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
-- Abuse tls.h macros to derive offsets relative to the thread register.
|
|
Packit Service |
82fcde |
#define thread_offsetof(mem) (long)(offsetof (struct pthread, mem) - sizeof (struct pthread))
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
MULTIPLE_THREADS_OFFSET thread_offsetof (header.multiple_threads)
|
|
Packit Service |
82fcde |
TID_OFFSET thread_offsetof (tid)
|