aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/elf/ChangeLog5
-rw-r--r--include/elf/ppc.h5
-rw-r--r--include/elf/ppc64.h3
3 files changed, 12 insertions, 1 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index b7df2ac..a33fb84 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-21 Alan Modra <amodra@bigpond.net.au>
+
+ * ppc.h (DT_PPC_TLSOPT): Define.
+ * ppc64.h (DT_PPC64_TLSOPT): Define.
+
2009-08-10 Daniel Gutson <dgutson@codesourcery.com>
* arm.h: (SHT_ARM_DEBUGOVERLAY): New define.
diff --git a/include/elf/ppc.h b/include/elf/ppc.h
index 14c643a..e2de0ad 100644
--- a/include/elf/ppc.h
+++ b/include/elf/ppc.h
@@ -153,7 +153,10 @@ END_RELOC_NUMBERS (R_PPC_max)
((R) >= R_PPC_TLS && (R) <= R_PPC_GOT_DTPREL16_HA)
/* Specify the value of _GLOBAL_OFFSET_TABLE_. */
-#define DT_PPC_GOT DT_LOPROC
+#define DT_PPC_GOT (DT_LOPROC)
+
+/* Specify that tls descriptors should be optimized. */
+#define DT_PPC_TLSOPT (DT_LOPROC + 1)
/* Processor specific flags for the ELF header e_flags field. */
diff --git a/include/elf/ppc64.h b/include/elf/ppc64.h
index da54f3f..04ddcd9 100644
--- a/include/elf/ppc64.h
+++ b/include/elf/ppc64.h
@@ -165,4 +165,7 @@ END_RELOC_NUMBERS (R_PPC64_max)
#define DT_PPC64_OPD (DT_LOPROC + 1)
#define DT_PPC64_OPDSZ (DT_LOPROC + 2)
+/* Specify that tls descriptors should be optimized. */
+#define DT_PPC64_TLSOPT (DT_LOPROC + 3)
+
#endif /* _ELF_PPC64_H */