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
* failure.
*
* EINVAL - There is something inconsistent in the symbol table (should only
* happen if the file is corrupted)
* EINVAL - There is something inconsistent in the symbol table (should
* only happen if the file is corrupted)
* ENOSYS - Symbol lies in common
* ESRCH - Symbol has no name
* 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

View File

@ -248,7 +248,9 @@ int modlib_findsection(FAR struct mod_loadinfo_s *loadinfo,
int ret;
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++)
{

View File

@ -412,7 +412,9 @@ int modlib_symvalue(FAR struct module_s *modp,
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",
loadinfo->iobuffer, sym->st_value, symbol->sym_value,