mirror of
https://sourceware.org/git/glibc.git
synced 2025-11-27 12:01:15 +03:00
loongarch: Remove TLS_TCB_ALIGN
This reverts a part of 9f18265a8e ("Remove TLS_TCB_ALIGN and
TLS_INIT_TCB_ALIGN"), as loongarch uses this macro internally.
This commit is contained in:
@@ -54,6 +54,9 @@ typedef struct
|
|||||||
pointer, we don't need this. */
|
pointer, we don't need this. */
|
||||||
#define TLS_TCB_SIZE 0
|
#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. */
|
/* This is the size we need before TCB - actually, it includes the TCB. */
|
||||||
#define TLS_PRE_TCB_SIZE \
|
#define TLS_PRE_TCB_SIZE \
|
||||||
(sizeof (struct pthread) \
|
(sizeof (struct pthread) \
|
||||||
|
|||||||
Reference in New Issue
Block a user