* elf32-mips.c (_bfd_mips_elf_relocate_section): Fix typo.
authorMark Mitchell <mark@codesourcery.com>
Wed, 28 Jul 1999 08:19:34 +0000 (08:19 +0000)
committerMark Mitchell <mark@codesourcery.com>
Wed, 28 Jul 1999 08:19:34 +0000 (08:19 +0000)
bfd/ChangeLog
bfd/elf32-mips.c

index 27c3702..cc75ae3 100644 (file)
@@ -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>
index 6154558..35ebaa5 100644 (file)
@@ -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;