Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b7df2acaf..a33fb843b 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 14c643a54..e2de0ad76 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 da54f3f94..04ddcd94c 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 */