diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-11-16 11:26:34 +0100 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-11-16 11:27:47 +0100 |
| commit | a064213785e0184a149ca7a4f757c87d65e8689a (patch) | |
| tree | d9ec4f86f2213f384a736ad8af25039bd0a12b5b | |
| parent | ce61fcf7022c5344bd8311daab312fb69506d1a7 (diff) | |
loongarch: Remove TLS_TCB_ALIGN
This reverts a part of 9f18265a8ec8 ("Remove TLS_TCB_ALIGN and
TLS_INIT_TCB_ALIGN"), as loongarch uses this macro internally.
| -rw-r--r-- | sysdeps/loongarch/nptl/tls.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/loongarch/nptl/tls.h b/sysdeps/loongarch/nptl/tls.h index 93d718e78e..4d5e3ba3c5 100644 --- a/sysdeps/loongarch/nptl/tls.h +++ b/sysdeps/loongarch/nptl/tls.h @@ -54,6 +54,9 @@ typedef struct 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) \ |
