about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-06-17 15:50:53 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-06-17 15:50:53 -0500
commite55a9b256d53c7fc5145e3e4d338d3741b23e232 (patch)
treea09f7bd43f54fc1958cb5002d477a2034bd315d8
parent3023a72eb83751a23b01b6cb996fb81fe3abbcb6 (diff)
downloadglibc-e55a9b256d53c7fc5145e3e4d338d3741b23e232.tar.gz
glibc-e55a9b256d53c7fc5145e3e4d338d3741b23e232.tar.xz
glibc-e55a9b256d53c7fc5145e3e4d338d3741b23e232.zip
PowerPC: Reserve TCB space for EBB framework
This patch reserves four pointer to be used in future Event-Based
Branch framework for PowerPC.
-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 f5292c5d2e..8ba955a775 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-17  Roland McGrath  <roland@hack.frob.com>
 
 	* scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
diff --git a/nptl/sysdeps/powerpc/tls.h b/nptl/sysdeps/powerpc/tls.h
index 46dac9e9f3..8e0ada6bfa 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;