From: Maciej W. Rozycki Date: Sun, 25 Oct 2009 01:43:06 +0000 (+0000) Subject: * elf32-vax.c (elf_vax_relocate_section): Correct assertion. X-Git-Tag: sid-snapshot-20091101~73 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d76b263e042ca35970d7ef62b8f521f658ecf769;p=thirdparty%2Fbinutils-gdb.git * elf32-vax.c (elf_vax_relocate_section): Correct assertion. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index bd30eaf0945..e377ee9ab4c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2009-10-25 Maciej W. Rozycki + + * elf32-vax.c (elf_vax_relocate_section): Correct assertion. + 2009-10-25 Maciej W. Rozycki * elf32-vax.c (elf_vax_plt_entry): Fix formatting. diff --git a/bfd/elf32-vax.c b/bfd/elf32-vax.c index e7e01882f59..63f74ab2825 100644 --- a/bfd/elf32-vax.c +++ b/bfd/elf32-vax.c @@ -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;