OSDN Git Service

* elf32-vax.c (elf_vax_relocate_section): Correct assertion.
authormacro <macro>
Sun, 25 Oct 2009 10:43:05 +0000 (10:43 +0000)
committermacro <macro>
Sun, 25 Oct 2009 10:43:05 +0000 (10:43 +0000)
bfd/ChangeLog
bfd/elf32-vax.c

index bd30eaf..e377ee9 100644 (file)
@@ -1,5 +1,9 @@
 2009-10-25  Maciej W. Rozycki  <macro@linux-mips.org>
 
+       * elf32-vax.c (elf_vax_relocate_section): Correct assertion.
+
+2009-10-25  Maciej W. Rozycki  <macro@linux-mips.org>
+
        * elf32-vax.c (elf_vax_plt_entry): Fix formatting.
 
 2009-10-25  Maciej W. Rozycki  <macro@linux-mips.org>
index e7e0188..63f74ab 100644 (file)
@@ -1583,7 +1583,7 @@ elf_vax_relocate_section (bfd *output_bfd,
          if (sgotplt == NULL)
            {
              sgotplt = bfd_get_section_by_name (dynobj, ".got.plt");
-             BFD_ASSERT (splt != NULL);
+             BFD_ASSERT (sgotplt != NULL);
            }
 
          plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1;