summaryrefslogtreecommitdiff
path: root/bfd/elf32-vax.c
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/elf32-vax.c
parent3ef7a7fb9ce67663fb51bca83023da0e7a190488 (diff)
downloadbinutils-redhat-d88f767ac8209e0adbbddbdb73f015c47d83a38c.tar.gz
* elf32-vax.c (elf_vax_relocate_section): Correct assertion.
Diffstat (limited to 'bfd/elf32-vax.c')
-rw-r--r--bfd/elf32-vax.c2
1 files changed, 1 insertions, 1 deletions
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;