aboutsummaryrefslogtreecommitdiff
path: root/include/elf/ppc.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-01-12 11:28:28 +0000
committerAlan Modra <amodra@gmail.com>2005-01-12 11:28:28 +0000
commitb4a38de6b6a4ee5fe0564e3c14a15c706ad2338b (patch)
tree2583e5c6b239b1ee64830c358b2aa998b5e73968 /include/elf/ppc.h
parentb8b80cf7d57d69c9827552fe8001bbbed7467d92 (diff)
downloadfsf-binutils-gdb-b4a38de6b6a4ee5fe0564e3c14a15c706ad2338b.zip
fsf-binutils-gdb-b4a38de6b6a4ee5fe0564e3c14a15c706ad2338b.tar.gz
fsf-binutils-gdb-b4a38de6b6a4ee5fe0564e3c14a15c706ad2338b.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)