aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-vax.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2009-10-25 01:43:06 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2009-10-25 01:43:06 +0000
commitd76b263e042ca35970d7ef62b8f521f658ecf769 (patch)
tree9744eba794694151bc71c6a0c3501485fa3491e3 /bfd/elf32-vax.c
parent71f136d6c2a7fbb6d560bac9e400d5fe6cb5b7ba (diff)
downloadgdb-d76b263e042ca35970d7ef62b8f521f658ecf769.zip
gdb-d76b263e042ca35970d7ef62b8f521f658ecf769.tar.gz
gdb-d76b263e042ca35970d7ef62b8f521f658ecf769.tar.bz2
* 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 e7e0188..63f74ab 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;