This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add __private_ss to s390 struct tcbhead.

This is okay for s390.

Adhemerval, is this okay for 2.23?

It is needed to enable split-stack support on s390 (See gcc bug #68191).

Bye Stefan

On 01/02/2016 05:34 PM, Marcin KoÅcielnicki wrote:
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.

	* sysdeps/s390/nptl/tls.h: Add __private_ss to struct tcbhead.
  ChangeLog               | 4 ++++
  sysdeps/s390/nptl/tls.h | 4 ++++
  2 files changed, 8 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 8c339d2..e39e2ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-01-02  Marcin KoÅcielnicki  <>
+	* sysdeps/s390/nptl/tls.h: Add __private_ss to struct tcbhead.
  2016-01-01  Mike Frysinger  <>

  	[BZ #15421]
diff --git a/sysdeps/s390/nptl/tls.h b/sysdeps/s390/nptl/tls.h
index 28a2119..0e61154 100644
--- a/sysdeps/s390/nptl/tls.h
+++ b/sysdeps/s390/nptl/tls.h
@@ -53,7 +53,11 @@ typedef struct
    int gscope_flag;
    int private_futex;
+  int __glibc_reserved1;
+  /* GCC split stack support.  */
+  void *__private_ss;
  } tcbhead_t;

  # ifndef __s390x__

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]