mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 10:58:49 +08:00
Fix typo in ELF variable name (only see it when C++ support is enabled)
This commit is contained in:
parent
3909e95969
commit
39c95050ab
1 changed files with 3 additions and 3 deletions
|
@ -192,10 +192,10 @@ int elf_loadctors(FAR struct elf_loadinfo_s *loadinfo)
|
||||||
FAR uintptr_t *ptr = (uintptr_t *)((FAR void *)(&loadinfo->ctors)[i]);
|
FAR uintptr_t *ptr = (uintptr_t *)((FAR void *)(&loadinfo->ctors)[i]);
|
||||||
|
|
||||||
bvdbg("ctor %d: %08lx + %08lx = %08lx\n",
|
bvdbg("ctor %d: %08lx + %08lx = %08lx\n",
|
||||||
i, *ptr, (unsigned long)loadinfo->txtalloc,
|
i, *ptr, (unsigned long)loadinfo->textalloc,
|
||||||
(unsigned long)(*ptr + loadinfo->txtalloc));
|
(unsigned long)(*ptr + loadinfo->textalloc));
|
||||||
|
|
||||||
*ptr += loadinfo->txtalloc;
|
*ptr += loadinfo->textalloc;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue