|
@@ -60,7 +60,7 @@ register tcbhead_t *__thread_self __asm__("$r13");
|
|
|
# define TLS_INIT_TCB_SIZE sizeof (tcbhead_t)
|
|
# define TLS_INIT_TCB_SIZE sizeof (tcbhead_t)
|
|
|
|
|
|
|
|
/* Alignment requirements for the initial TCB. */
|
|
/* Alignment requirements for the initial TCB. */
|
|
|
-# define TLS_INIT_TCB_ALIGN __alignof__ (tcbhead_t)
|
|
|
|
|
|
|
+# define TLS_INIT_TCB_ALIGN __alignof__ (struct pthread)
|
|
|
|
|
|
|
|
/* This is the size of the TCB. */
|
|
/* This is the size of the TCB. */
|
|
|
# define TLS_TCB_SIZE sizeof (tcbhead_t)
|
|
# define TLS_TCB_SIZE sizeof (tcbhead_t)
|
|
@@ -69,7 +69,7 @@ register tcbhead_t *__thread_self __asm__("$r13");
|
|
|
# define TLS_PRE_TCB_SIZE sizeof (struct pthread)
|
|
# define TLS_PRE_TCB_SIZE sizeof (struct pthread)
|
|
|
|
|
|
|
|
/* Alignment requirements for the TCB. */
|
|
/* Alignment requirements for the TCB. */
|
|
|
-# define TLS_TCB_ALIGN __alignof__ (tcbhead_t)
|
|
|
|
|
|
|
+# define TLS_TCB_ALIGN __alignof__ (struct pthread)
|
|
|
|
|
|
|
|
/* Install the dtv pointer. The pointer passed is to the element with
|
|
/* Install the dtv pointer. The pointer passed is to the element with
|
|
|
index -1 which contain the length. */
|
|
index -1 which contain the length. */
|