aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf32-mips.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 27c3702..cc75ae3 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+1999-07-28 Mark Mitchell <mark@codesourcery.com>
+
+ * elf32-mips.c (_bfd_mips_elf_relocate_section): Fix typo.
+
1999-07-27 Nick Clifton <nickc@cygnus.com>
Patch generated by Bernd Schmidt. <bernds@cygnus.co.uk>
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c
index 6154558..35ebaa5 100644
--- a/bfd/elf32-mips.c
+++ b/bfd/elf32-mips.c
@@ -6601,7 +6601,7 @@ _bfd_mips_elf_relocate_section (output_bfd, info, input_bfd, input_section,
for the next. */
if (rel + 1 < relend
&& rel->r_offset == rel[1].r_offset
- && r_type != R_MIPS_NONE)
+ && ELF32_R_TYPE (rel[1].r_info) != R_MIPS_NONE)
use_saved_addend_p = true;
else
use_saved_addend_p = false;