]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add __private_ss to s390 struct tcbhead.
authorMarcin Kościelnicki <koriakin@0x04.net>
Thu, 14 Jan 2016 15:48:55 +0000 (16:48 +0100)
committerStefan Liebler <stli@de.ibm.com>
Thu, 14 Jan 2016 15:48:55 +0000 (16:48 +0100)
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.

ChangeLog
sysdeps/s390/nptl/tls.h

index 2c261caf22f28344f78001e1837c5936050794b0..424f7312c51dd7cea4efe47cfc5752c17de74057 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index bc86931d8140880638d44860e321c4f25818e542..e4c3ec78302ba4d99e913f9e11a943a4f10e68b8 100644 (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__