Skip to content

Commit

Permalink
Add __private_ss to s390 struct tcbhead.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Marcin Kościelnicki authored and Stefan Liebler committed Jan 14, 2016
1 parent 67fc563 commit a4b5177
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 4 additions & 0 deletions sysdeps/s390/nptl/tls.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down

0 comments on commit a4b5177

Please sign in to comment.