ce426f
From 920e759ea4f48ca9c8b4dba6dfe5c88d27033121 Mon Sep 17 00:00:00 2001
ce426f
From: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
ce426f
Date: Mon, 17 Jun 2013 15:50:53 -0500
ce426f
Subject: [PATCH 36/42] PowerPC: Reserve TCB space for EBB framework
ce426f
ce426f
This patch reserves four pointer to be used in future Event-Based
ce426f
Branch framework for PowerPC.
ce426f
(cherry picked from commit e55a9b256d53c7fc5145e3e4d338d3741b23e232)
ce426f
---
ce426f
 nptl/sysdeps/powerpc/tls.h | 5 +++++
ce426f
 2 files changed, 10 insertions(+)
ce426f
ce426f
diff --git glibc-2.17-c758a686/nptl/sysdeps/powerpc/tls.h glibc-2.17-c758a686/nptl/sysdeps/powerpc/tls.h
ce426f
index 4c09eec..611c773 100644
ce426f
--- glibc-2.17-c758a686/nptl/sysdeps/powerpc/tls.h
ce426f
+++ glibc-2.17-c758a686/nptl/sysdeps/powerpc/tls.h
ce426f
@@ -61,6 +61,11 @@ typedef union dtv
ce426f
    are private.  */
ce426f
 typedef struct
ce426f
 {
ce426f
+  /* Reservation for the Event-Based Branching ABI.  */
ce426f
+  uintptr_t ebb_handler;
ce426f
+  uintptr_t ebb_ctx_pointer;
ce426f
+  uintptr_t ebb_reserved1;
ce426f
+  uintptr_t ebb_reserved2;
ce426f
   uintptr_t pointer_guard;
ce426f
   uintptr_t stack_guard;
ce426f
   dtv_t *dtv;
ce426f
-- 
ce426f
1.7.11.7
ce426f