aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-07-29 14:55:20 +0000
committerAlan Modra <amodra@gmail.com>2009-07-29 14:55:20 +0000
commit28ec585feaa018f38c7c0fda2b833d91568d5745 (patch)
tree1d84b145663cf5c48137be6a8311df00b8809e8a
parent2a1314ce69bb821b2c4a92a32984659f7ca2c350 (diff)
downloadgdb-28ec585feaa018f38c7c0fda2b833d91568d5745.zip
gdb-28ec585feaa018f38c7c0fda2b833d91568d5745.tar.gz
gdb-28ec585feaa018f38c7c0fda2b833d91568d5745.tar.bz2
* ppc64.h: Add R_PPC64_JMP_IREL, R_PPC64_REL16, R_PPC64_REL16_LO,
R_PPC64_REL16_HI, R_PPC64_REL16_HA.
-rw-r--r--include/elf/ChangeLog5
-rw-r--r--include/elf/ppc64.h7
2 files changed, 12 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 3ef5067..113403d 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-30 Alan Modra <amodra@bigpond.net.au>
+
+ * ppc64.h: Add R_PPC64_JMP_IREL, R_PPC64_REL16, R_PPC64_REL16_LO,
+ R_PPC64_REL16_HI, R_PPC64_REL16_HA.
+
2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
* common.h (EM_L1OM): New.
diff --git a/include/elf/ppc64.h b/include/elf/ppc64.h
index 4644b75..da54f3f 100644
--- a/include/elf/ppc64.h
+++ b/include/elf/ppc64.h
@@ -140,8 +140,15 @@ START_RELOC_NUMBERS (elf_ppc64_reloc_type)
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)
RELOC_NUMBER (R_PPC64_GNU_VTENTRY, 254)