aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-ppc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-06-22 00:52:20 +0000
committerAlan Modra <amodra@gmail.com>2009-06-22 00:52:20 +0000
commitceaf50a2f96d755dc9287e347548d8228cb29619 (patch)
treef8eb1fe2ca7e41d27d430b88663e2a53d0ad7fa6 /bfd/elf32-ppc.c
parentb33bafa0d71c6f92b0d639466eb13af58989bfb7 (diff)
downloadfsf-binutils-gdb-ceaf50a2f96d755dc9287e347548d8228cb29619.zip
fsf-binutils-gdb-ceaf50a2f96d755dc9287e347548d8228cb29619.tar.gz
fsf-binutils-gdb-ceaf50a2f96d755dc9287e347548d8228cb29619.tar.bz2
include/elf/
* ppc.h (R_PPC_RELAX*): Define as enum. bfd/ * elf32-ppc.c (ppc_elf_check_relocs): Handle R_PPC_RELAX* in switch. * elf32-v850.c (v850_elf_relocate_section): Warning fix.
Diffstat (limited to 'bfd/elf32-ppc.c')
-rw-r--r--bfd/elf32-ppc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c
index 7aafbeb..0a27ffd 100644
--- a/bfd/elf32-ppc.c
+++ b/bfd/elf32-ppc.c
@@ -3643,6 +3643,10 @@ ppc_elf_check_relocs (bfd *abfd,
case R_PPC_EMB_MRKREF:
case R_PPC_NONE:
case R_PPC_max:
+ case R_PPC_RELAX32:
+ case R_PPC_RELAX32PC:
+ case R_PPC_RELAX32_PLT:
+ case R_PPC_RELAX32PC_PLT:
break;
/* These should only appear in dynamic objects. */