This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Add __private_ss to s390 struct tcbhead.
- From: Andreas Schwab <schwab at suse dot de>
- To: Marcin KoÅcielnicki <koriakin at 0x04 dot net>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 13 Jan 2016 09:54:27 +0100
- Subject: Re: [PATCH] Add __private_ss to s390 struct tcbhead.
- Authentication-results: sourceware.org; auth=none
- References: <1451752466-9429-1-git-send-email-koriakin at 0x04 dot net>
Marcin KoÅcielnicki <koriakin@0x04.net> writes:
> 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;
> #ifndef __ASSUME_PRIVATE_FUTEX
> int private_futex;
> +#else
> + int __glibc_reserved1;
> #endif
You can keep the name the same in all cases. This is an internal
header, so no namespace control.
> + /* GCC split stack support. */
> + void *__private_ss;
Similarily, no need for namespace control.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."