From f3f9eb461294f1da1f2aa7c39c77e563caa74007 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Fri, 15 Nov 2013 11:47:44 -0600 Subject: [PATCH] PowerPC64: Add __private_ss field to TCB header the TCB header on Intel contains a field __private_ss that is used to efficiently implement the -fsplit-stack GCC feature. In order to prepare for a possible future implementation of that feature on powerpc64, we'd like to reserve a similar field in the TCB header as well. (It would be good if this went in with or before the ELFv2 patches to ensure that this field will be available always in the ELFv2 environment.) The field needs to be added at the front of tcbhead_t structure to avoid changing the ABI; see the recent discussion when adding the EBB fields. --- nptl/ChangeLog | 4 ++++ nptl/sysdeps/powerpc/tls.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 2d78490863d..3ac857af017 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,7 @@ +2013-11-12 Ulrich Weigand + + * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field. + 2013-10-03 Siddhesh Poyarekar [BZ #15996] diff --git a/nptl/sysdeps/powerpc/tls.h b/nptl/sysdeps/powerpc/tls.h index 8e0ada6bfab..c21c0271ef9 100644 --- a/nptl/sysdeps/powerpc/tls.h +++ b/nptl/sysdeps/powerpc/tls.h @@ -61,6 +61,8 @@ typedef union dtv are private. */ typedef struct { + /* GCC split stack support. */ + void *__private_ss; /* Reservation for the Event-Based Branching ABI. */ uintptr_t ebb_handler; uintptr_t ebb_ctx_pointer; -- 2.47.2