summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-06-17 15:50:53 -0500
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-07-26 09:52:07 -0500
commit920e759ea4f48ca9c8b4dba6dfe5c88d27033121 (patch)
tree4c78ef2a71a671ea894a2d70e990d1072a3ab263
parent7dfe8a35215a019f552f117d907eca294225c121 (diff)
downloadglibc-920e759ea4f48ca9c8b4dba6dfe5c88d27033121.tar.gz
PowerPC: Reserve TCB space for EBB framework
This patch reserves four pointer to be used in future Event-Based Branch framework for PowerPC. (cherry picked from commit e55a9b256d53c7fc5145e3e4d338d3741b23e232)
-rw-r--r--ChangeLog5
-rw-r--r--nptl/sysdeps/powerpc/tls.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9737691ca5..e4aade27dd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
+
+ * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
+ fields.
+
2013-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
[BZ #15605]
diff --git a/nptl/sysdeps/powerpc/tls.h b/nptl/sysdeps/powerpc/tls.h
index 4c09eecfd9..611c773dd6 100644
--- a/nptl/sysdeps/powerpc/tls.h
+++ b/nptl/sysdeps/powerpc/tls.h
@@ -61,6 +61,11 @@ typedef union dtv
are private. */
typedef struct
{
+ /* Reservation for the Event-Based Branching ABI. */
+ uintptr_t ebb_handler;
+ uintptr_t ebb_ctx_pointer;
+ uintptr_t ebb_reserved1;
+ uintptr_t ebb_reserved2;
uintptr_t pointer_guard;
uintptr_t stack_guard;
dtv_t *dtv;