Fix typo in ELF variable name (only see it when C++ support is enabled)

This commit is contained in:
Gregory Nutt 2014-09-06 11:40:35 -06:00
parent 3909e95969
commit 39c95050ab

View File

@ -192,10 +192,10 @@ int elf_loadctors(FAR struct elf_loadinfo_s *loadinfo)
FAR uintptr_t *ptr = (uintptr_t *)((FAR void *)(&loadinfo->ctors)[i]);
bvdbg("ctor %d: %08lx + %08lx = %08lx\n",
i, *ptr, (unsigned long)loadinfo->txtalloc,
(unsigned long)(*ptr + loadinfo->txtalloc));
i, *ptr, (unsigned long)loadinfo->textalloc,
(unsigned long)(*ptr + loadinfo->textalloc));
*ptr += loadinfo->txtalloc;
*ptr += loadinfo->textalloc;
}
}
else