From 23c77f60181eb549f11ec2f913b4270af29eee38 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 3 Dec 2021 16:28:07 +0100 Subject: 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 to obtain the fallback definition. Reviewed-by: H.J. Lu --- sysdeps/arm/nptl/pthreaddef.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'sysdeps/arm/nptl/pthreaddef.h') diff --git a/sysdeps/arm/nptl/pthreaddef.h b/sysdeps/arm/nptl/pthreaddef.h index 332f4079c4..13769f5ae2 100644 --- a/sysdeps/arm/nptl/pthreaddef.h +++ b/sysdeps/arm/nptl/pthreaddef.h @@ -28,9 +28,6 @@ /* Minimal stack size after allocating thread descriptor and guard size. */ #define MINIMAL_REST_STACK 2048 -/* Alignment requirement for TCB. */ -#define TCB_ALIGNMENT 16 - /* Location of current stack frame. -- cgit 1.4.1