]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - include/elf/ppc64.h
Imported binutils-2.20
[msp430-binutils.git] / include / elf / ppc64.h
index 4aab2ec9446a0d82d69369057dc7a402dcd535d2..04ddcd94c54728d8a40fad7bcc87c4468caf447c 100644 (file)
@@ -1,5 +1,5 @@
 /* PPC64 ELF support for BFD.
-   Copyright 2003 Free Software Foundation, Inc.
+   Copyright 2003, 2005, 2009 Free Software Foundation, Inc.
 
 This file is part of BFD, the Binary File Descriptor library.
 
@@ -136,6 +136,18 @@ START_RELOC_NUMBERS (elf_ppc64_reloc_type)
   RELOC_NUMBER (R_PPC64_DTPREL16_HIGHERA,  104)
   RELOC_NUMBER (R_PPC64_DTPREL16_HIGHEST,  105)
   RELOC_NUMBER (R_PPC64_DTPREL16_HIGHESTA, 106)
+  RELOC_NUMBER (R_PPC64_TLSGD,            107)
+  RELOC_NUMBER (R_PPC64_TLSLD,            108)
+
+/* Support STT_GNU_IFUNC plt calls.  */
+  RELOC_NUMBER (R_PPC64_JMP_IREL,         247)
+  RELOC_NUMBER (R_PPC64_IRELATIVE,        248)
+
+/* These are GNU extensions used in PIC code sequences.  */
+  RELOC_NUMBER (R_PPC64_REL16,            249)
+  RELOC_NUMBER (R_PPC64_REL16_LO,         250)
+  RELOC_NUMBER (R_PPC64_REL16_HI,         251)
+  RELOC_NUMBER (R_PPC64_REL16_HA,         252)
 
   /* These are GNU extensions to enable C++ vtable garbage collection.  */
   RELOC_NUMBER (R_PPC64_GNU_VTINHERIT,    253)
@@ -153,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 */