From a4b5177ca83ca97c562a7138923dafe0cb92d1a0 Mon Sep 17 00:00:00 2001 From: Marcin Koƛcielnicki Date: Thu, 14 Jan 2016 16:48:55 +0100 Subject: Add __private_ss to s390 struct tcbhead. Preparation for gcc -fsplit-stack support (gcc bug #68191). The new field is basically identical to the one on x86. Its TCB offset needs to be constant, as it'll be hardcoded in gcc. ChangeLog: * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field. --- sysdeps/s390/nptl/tls.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sysdeps') diff --git a/sysdeps/s390/nptl/tls.h b/sysdeps/s390/nptl/tls.h index bc86931d81..e4c3ec7830 100644 --- a/sysdeps/s390/nptl/tls.h +++ b/sysdeps/s390/nptl/tls.h @@ -53,7 +53,11 @@ typedef struct int gscope_flag; #ifndef __ASSUME_PRIVATE_FUTEX int private_futex; +#else + int __glibc_reserved1; #endif + /* GCC split stack support. */ + void *__private_ss; } tcbhead_t; # ifndef __s390x__ -- cgit v1.2.3