mirror of
https://sourceware.org/git/glibc.git
synced 2025-11-26 00:03:11 +03:00
Remove TLS_TCB_ALIGN and TLS_INIT_TCB_ALIGN
This is the rest of 627f5ede70 ("Remove TLS_TCB_ALIGN and
TLS_INIT_TCB_ALIGN"), for loongarch and or1k which missed it.
This commit is contained in:
@@ -50,16 +50,10 @@ typedef struct
|
||||
pointer, we don't need this. */
|
||||
#define TLS_INIT_TCB_SIZE 0
|
||||
|
||||
/* Alignment requirements for the initial TCB. */
|
||||
#define TLS_INIT_TCB_ALIGN __alignof__(struct pthread)
|
||||
|
||||
/* This is the size of the TCB. Because our TCB is before the thread
|
||||
pointer, we don't need this. */
|
||||
#define TLS_TCB_SIZE 0
|
||||
|
||||
/* Alignment requirements for the TCB. */
|
||||
#define TLS_TCB_ALIGN __alignof__(struct pthread)
|
||||
|
||||
/* This is the size we need before TCB - actually, it includes the TCB. */
|
||||
#define TLS_PRE_TCB_SIZE \
|
||||
(sizeof (struct pthread) \
|
||||
|
||||
@@ -65,10 +65,7 @@ register tcbhead_t *__thread_self __asm__("r10");
|
||||
|
||||
/* Requirements for the TCB. */
|
||||
# define TLS_INIT_TCB_SIZE sizeof (tcbhead_t)
|
||||
# define TLS_INIT_TCB_ALIGN __alignof__ (struct pthread)
|
||||
|
||||
# define TLS_TCB_SIZE sizeof (tcbhead_t)
|
||||
# define TLS_TCB_ALIGN __alignof__ (struct pthread)
|
||||
|
||||
/* This is the size of the TCB. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user