diff options
Diffstat (limited to 'bfd/elf64-ppc.c')
-rw-r--r-- | bfd/elf64-ppc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index 656e8227552..f05262b9c25 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -2121,8 +2121,8 @@ ppc64_elf_info_to_howto (bfd *abfd ATTRIBUTE_UNUSED, arelent *cache_ptr, / sizeof (ppc64_elf_howto_table[0]))) { (*_bfd_error_handler) (_("%B: invalid relocation type %d"), - abfd, (int) r_type); - r_type = R_PPC64_NONE; + abfd, (int) type); + type = R_PPC64_NONE; } cache_ptr->howto = ppc64_elf_howto_table[type]; } |