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.
This commit is contained in:
Marcin Kościelnicki 2016-01-14 16:48:55 +01:00 committed by Stefan Liebler
parent 67fc563718
commit a4b5177ca8
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
* sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
2016-01-13 Carlos O'Donell <carlos@redhat.com>
* benchtests/Makefile (PYTHON): Define.

View File

@ -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__