summaryrefslogtreecommitdiffstats
path: root/include/elf/ppc.h
diff options
context:
space:
mode:
authorcvs2svn <>2009-07-25 14:58:56 +0000
committercvs2svn <>2009-07-25 14:58:56 +0000
commitf7933f61b2ff10b34b661b2be815529e40223d1c (patch)
tree9d7a60c8966de4884ea2147e585cbabe3cc1cd6c /include/elf/ppc.h
parent13832ef1baffcb98ec421c8d205b8ed94999df67 (diff)
downloadcygnal-f7933f61b2ff10b34b661b2be815529e40223d1c.tar.gz
cygnal-f7933f61b2ff10b34b661b2be815529e40223d1c.tar.bz2
cygnal-f7933f61b2ff10b34b661b2be815529e40223d1c.zip
This commit was manufactured by cvs2svn to create branch 'msnyder-msnyder-checkpoint-072509-branchpoint
checkpoint-072509-branch'. Sprout from dje-cgen-play1-branch 2009-06-26 17:19:08 UTC cvs2svn 'This commit was manufactured by cvs2svn to create branch 'dje-cgen-' Cherrypick from master 2009-07-25 14:58:55 UTC H.J. Lu <hjl.tools@gmail.com> 'bfd/': ChangeLog config/ChangeLog config/tls.m4 configure configure.ac djunpack.bat include/ChangeLog include/demangle.h include/dwarf2.h include/elf/ChangeLog include/elf/common.h include/elf/ppc.h include/elf/ppc64.h include/elf/spu.h include/libiberty.h Delete: include/elf/dwarf2.h
Diffstat (limited to 'include/elf/ppc.h')
-rw-r--r--include/elf/ppc.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/include/elf/ppc.h b/include/elf/ppc.h
index 8f4ed9e18..14c643a54 100644
--- a/include/elf/ppc.h
+++ b/include/elf/ppc.h
@@ -71,6 +71,14 @@ START_RELOC_NUMBERS (elf_ppc_reloc_type)
RELOC_NUMBER (R_PPC_SECTOFF_HA, 36)
RELOC_NUMBER (R_PPC_ADDR30, 37)
+#ifndef RELOC_MACROS_GEN_FUNC
+/* Fake relocations for branch stubs, only used internally by ld. */
+ RELOC_NUMBER (R_PPC_RELAX32, 48)
+ RELOC_NUMBER (R_PPC_RELAX32PC, 49)
+ RELOC_NUMBER (R_PPC_RELAX32_PLT, 50)
+ RELOC_NUMBER (R_PPC_RELAX32PC_PLT, 51)
+#endif
+
/* Relocs added to support TLS. */
RELOC_NUMBER (R_PPC_TLS, 67)
RELOC_NUMBER (R_PPC_DTPMOD32, 68)
@@ -122,13 +130,8 @@ START_RELOC_NUMBERS (elf_ppc_reloc_type)
RELOC_NUMBER (R_PPC_EMB_BIT_FLD, 115)
RELOC_NUMBER (R_PPC_EMB_RELSDA, 116)
-#ifndef RELOC_MACROS_GEN_FUNC
-/* Fake relocations for branch stubs, only used internally by ld. */
- RELOC_NUMBER (R_PPC_RELAX32, 245)
- RELOC_NUMBER (R_PPC_RELAX32PC, 246)
- RELOC_NUMBER (R_PPC_RELAX32_PLT, 247)
- RELOC_NUMBER (R_PPC_RELAX32PC_PLT, 248)
-#endif
+/* Support STT_GNU_IFUNC plt calls. */
+ RELOC_NUMBER (R_PPC_IRELATIVE, 248)
/* These are GNU extensions used in PIC code sequences. */
RELOC_NUMBER (R_PPC_REL16, 249)