diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-12-03 16:28:07 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-12-03 20:43:31 +0100 |
commit | 23c77f60181eb549f11ec2f913b4270af29eee38 (patch) | |
tree | 9436a2b96bea5e71e47306bb5b85eeb7f13992c1 /sysdeps/nios2 | |
parent | 0656b649c56ea51cceb86e94842d89946cee919b (diff) | |
download | glibc-23c77f60181eb549f11ec2f913b4270af29eee38.tar.gz glibc-23c77f60181eb549f11ec2f913b4270af29eee38.tar.xz glibc-23c77f60181eb549f11ec2f913b4270af29eee38.zip |
nptl: Increase default TCB alignment to 32
rseq support will use a 32-byte aligned field in struct pthread, so the whole struct needs to have at least that alignment. nptl/tst-tls3mod.c uses TCB_ALIGNMENT, therefore include <descr.h> to obtain the fallback definition. Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'sysdeps/nios2')
-rw-r--r-- | sysdeps/nios2/nptl/pthreaddef.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sysdeps/nios2/nptl/pthreaddef.h b/sysdeps/nios2/nptl/pthreaddef.h index e01a0e6df7..aa0709d0dc 100644 --- a/sysdeps/nios2/nptl/pthreaddef.h +++ b/sysdeps/nios2/nptl/pthreaddef.h @@ -28,8 +28,5 @@ /* Minimal stack size after allocating thread descriptor and guard size. */ #define MINIMAL_REST_STACK 2048 -/* Alignment requirement for TCB. */ -#define TCB_ALIGNMENT 4 - /* Location of current stack frame. */ #define CURRENT_STACK_FRAME __builtin_frame_address (0) |