1
0
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:
Samuel Thibault
2025-11-15 22:01:07 +01:00
parent 4f18501498
commit 9f18265a8e
2 changed files with 0 additions and 9 deletions

View File

@@ -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) \

View File

@@ -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. */