* elfxx-mips.c (mips_elf_create_dynamic_relocation): Set the type
authorAlexandre Oliva <aoliva@redhat.com>
Sat, 5 Oct 2002 11:18:13 +0000 (11:18 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sat, 5 Oct 2002 11:18:13 +0000 (11:18 +0000)
of the other two relocations packed with a REL32 to NONE.

bfd/ChangeLog
bfd/elfxx-mips.c

index f2c7a389e31530f3a4559d41b8bf62fe881b6435..7f0d4383bf2b1043f1a606a00996aa13155fe4a4 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-05  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elfxx-mips.c (mips_elf_create_dynamic_relocation): Set the type
+       of the other two relocations packed with a REL32 to NONE.
+
 2002-10-02  Stephen Clarke <stephen.clarke@superh.com>
 
        * elf32-sh.c (elf_sh_link_hash_entry): Add gotplt_refcount.
index 3c8bb5d8be8a1f7d3031ccf1bae9a4ec73960b0e..359587dfd9437f782fe55f6571f0185336649f72 100644 (file)
@@ -2938,6 +2938,10 @@ mips_elf_create_dynamic_relocation (output_bfd, info, rel, h, sec,
         know where the shared library will wind up at load-time.  */
       outrel[0].r_info = ELF_R_INFO (output_bfd, (unsigned long) indx,
                                     R_MIPS_REL32);
+      outrel[1].r_info = ELF_R_INFO (output_bfd, (unsigned long) 0,
+                                    R_MIPS_NONE);
+      outrel[2].r_info = ELF_R_INFO (output_bfd, (unsigned long) 0,
+                                    R_MIPS_NONE);
 
       /* Adjust the output offset of the relocation to reference the
         correct location in the output file.  */