aboutsummaryrefslogtreecommitdiff
path: root/include/elf/ppc.h
diff options
context:
space:
mode:
authorAlan Modra <modra@gmail.com>2005-01-12 11:28:23 +0000
committerAlan Modra <modra@gmail.com>2005-01-12 11:28:23 +0000
commit2538a7ff9b5b6d1b196df0ccecb17b72276483f8 (patch)
treeb6dd5969e5f7e71f0bd5007dbaf620f4c7c9c148 /include/elf/ppc.h
parent49f78301870ff5bdd9f6b4652ba6e45b9393e916 (diff)
downloadnewlib-2538a7ff9b5b6d1b196df0ccecb17b72276483f8.zip
newlib-2538a7ff9b5b6d1b196df0ccecb17b72276483f8.tar.gz
newlib-2538a7ff9b5b6d1b196df0ccecb17b72276483f8.tar.bz2
include/elf/
* ppc.h (R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Define. (R_PPC_RELAX32, R_PPC_RELAX32PC): Adjust value. bfd/ * elf32-ppc.c (ppc_elf_howto_raw): Delete RELAX32* entries. (ppc_elf_relax_section): Use PLT variants of RELAX32 relocs for reaching PLT. (ppc_elf_relocate_section): Handle R_PPC_RELAX32_PLT and R_PPC_RELAX32PC_PLT.
Diffstat (limited to 'include/elf/ppc.h')
-rw-r--r--include/elf/ppc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/elf/ppc.h b/include/elf/ppc.h
index b510f44..f512630 100644
--- a/include/elf/ppc.h
+++ b/include/elf/ppc.h
@@ -122,8 +122,10 @@ START_RELOC_NUMBERS (elf_ppc_reloc_type)
/* Fake relocations for branch stubs. This will keep them
together. */
-#define R_PPC_RELAX32 251
-#define R_PPC_RELAX32PC 252
+#define R_PPC_RELAX32 249
+#define R_PPC_RELAX32PC 250
+#define R_PPC_RELAX32_PLT 251
+#define R_PPC_RELAX32PC_PLT 252
/* These are GNU extensions to enable C++ vtable garbage collection. */
RELOC_NUMBER (R_PPC_GNU_VTINHERIT, 253)