* 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 27c370263b956c369480fb13bcf0fd2992066128..cc75ae3cc4f22cc0dbb6f844bfb774baf9f992f3 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 6154558f0bf8804ec86fd3961504a96b3418b573..35ebaa5f4c8921e6c04eb34a853c7542ce7ccbac 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;