Appease nxstyle complaints

This commit is contained in:
YAMAMOTO Takashi 2020-04-13 12:54:29 +09:00 committed by patacongo
parent 30f7ec7049
commit 6f3e127094
3 changed files with 10 additions and 5 deletions

View File

@ -116,8 +116,8 @@ int modlib_readsym(FAR struct mod_loadinfo_s *loadinfo, int index,
* 0 (OK) is returned on success and a negated errno is returned on * 0 (OK) is returned on success and a negated errno is returned on
* failure. * failure.
* *
* EINVAL - There is something inconsistent in the symbol table (should only * EINVAL - There is something inconsistent in the symbol table (should
* happen if the file is corrupted) * only happen if the file is corrupted)
* ENOSYS - Symbol lies in common * ENOSYS - Symbol lies in common
* ESRCH - Symbol has no name * ESRCH - Symbol has no name
* ENOENT - Symbol undefined and not provided via a symbol table * ENOENT - Symbol undefined and not provided via a symbol table
@ -189,7 +189,8 @@ int modlib_allocbuffer(FAR struct mod_loadinfo_s *loadinfo);
* *
****************************************************************************/ ****************************************************************************/
int modlib_reallocbuffer(FAR struct mod_loadinfo_s *loadinfo, size_t increment); int modlib_reallocbuffer(FAR struct mod_loadinfo_s *loadinfo,
size_t increment);
/**************************************************************************** /****************************************************************************
* Name: modlib_freebuffers * Name: modlib_freebuffers

View File

@ -248,7 +248,9 @@ int modlib_findsection(FAR struct mod_loadinfo_s *loadinfo,
int ret; int ret;
int i; int i;
/* Search through the shdr[] array in loadinfo for a section named 'sectname' */ /* Search through the shdr[] array in loadinfo for a section named
* 'sectname'
*/
for (i = 0; i < loadinfo->ehdr.e_shnum; i++) for (i = 0; i < loadinfo->ehdr.e_shnum; i++)
{ {

View File

@ -412,7 +412,9 @@ int modlib_symvalue(FAR struct module_s *modp,
return -ENOENT; return -ENOENT;
} }
/* Yes... add the exported symbol value to the ELF symbol table entry */ /* Yes... add the exported symbol value to the ELF symbol tablei
* entry
*/
binfo("SHN_UNDEF: name=%s %08x+%08x=%08x\n", binfo("SHN_UNDEF: name=%s %08x+%08x=%08x\n",
loadinfo->iobuffer, sym->st_value, symbol->sym_value, loadinfo->iobuffer, sym->st_value, symbol->sym_value,