* elf32-vax.c (elf_vax_relocate_section): Correct assertion.

This commit is contained in:
Maciej W. Rozycki
2009-10-25 01:43:06 +00:00
parent 71f136d6c2
commit d76b263e04
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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> 2009-10-25 Maciej W. Rozycki <macro@linux-mips.org>
* elf32-vax.c (elf_vax_plt_entry): Fix formatting. * elf32-vax.c (elf_vax_plt_entry): Fix formatting.

View File

@ -1583,7 +1583,7 @@ elf_vax_relocate_section (bfd *output_bfd,
if (sgotplt == NULL) if (sgotplt == NULL)
{ {
sgotplt = bfd_get_section_by_name (dynobj, ".got.plt"); 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; plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1;