aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf64-ppc.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index e7cdd85..67a8e79 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2005-07-05 Nick Clifton <nickc@redhat.com>
+
+ * elf64-ppc.c (ppc64_elf_info_to_howto): Fix typo.
+
2005-05-07 Paul Brook <paul@codesourcery.com>
* config.bfd: Add separate case for ppc-vxworks.
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index 656e822..f05262b 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];
}