summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2009-10-25 01:43:05 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2009-10-25 01:43:05 +0000
commitd88f767ac8209e0adbbddbdb73f015c47d83a38c (patch)
tree1fe3b6e6d71ced42ce4207ab324114a93a77a710 /bfd
parent3ef7a7fb9ce67663fb51bca83023da0e7a190488 (diff)
downloadbinutils-redhat-d88f767ac8209e0adbbddbdb73f015c47d83a38c.tar.gz
* elf32-vax.c (elf_vax_relocate_section): Correct assertion.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf32-vax.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index bd30eaf094..e377ee9ab4 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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>
diff --git a/bfd/elf32-vax.c b/bfd/elf32-vax.c
index e7e01882f5..63f74ab282 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;