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/sparc/sparc32/pthreaddef.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'sysdeps/sparc/sparc32') diff --git a/sysdeps/sparc/sparc32/pthreaddef.h b/sysdeps/sparc/sparc32/pthreaddef.h index 6526fb3d6e..7a0a04789d 100644 --- a/sysdeps/sparc/sparc32/pthreaddef.h +++ b/sysdeps/sparc/sparc32/pthreaddef.h @@ -27,9 +27,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. */ #define CURRENT_STACK_FRAME (stack_pointer + (2 * 64)) -- cgit 1.4.1