Few typos fixes in binfmt and libc/machine.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche 2021-03-10 21:13:31 +01:00 committed by Xiang Xiao
parent d898bc445c
commit d85c432278
16 changed files with 24 additions and 23 deletions

View File

@ -8,7 +8,7 @@ config BINFMT_DISABLE
default n
---help---
By default, support for loadable binary formats is built. This logic
may be suppressed be defining this setting.
may be suppressed by defining this setting.
if !BINFMT_DISABLE
@ -64,7 +64,7 @@ config BINFMT_CONSTRUCTORS
default n
depends on HAVE_CXX && SCHED_STARTHOOK && ELF
---help---
Build in support for C++ constructors in loaded modules. Currently
Built-in support for C++ constructors in loaded modules. Currently
only support for ELF binary formats.
config SYMTAB_ORDEREDBYNAME
@ -73,5 +73,5 @@ config SYMTAB_ORDEREDBYNAME
---help---
Select if the symbol table is ordered by symbol name. In this case,
the logic can perform faster lookups using a binary search.
Otherwise, the symbol table is assumed to be un-ordered an only
Otherwise, the symbol table is assumed to be un-ordered and only
slow, linear searches are supported.

View File

@ -83,7 +83,7 @@ int dump_module(FAR const struct binary_s *bin);
*
* Description:
* In the kernel build, the argv list will likely lie in the caller's
* address environment and, hence, by inaccessible when we switch to the
* address environment and, hence, be inaccessible when we switch to the
* address environment of the new process address environment. So we
* do not have any real option other than to copy the callers argv[] list.
*

View File

@ -54,7 +54,7 @@
*
* Description:
* In the kernel build, the argv list will likely lie in the caller's
* address environment and, hence, by inaccessible when we switch to the
* address environment and, hence, be inaccessible when we switch to the
* address environment of the new process address environment. So we
* do not have any real option other than to copy the callers argv[] list.
*

View File

@ -42,12 +42,13 @@
* Name: dump_module
*
* Description:
* Load a module into memory and prep it for execution.
* Dump the contents of struct binary_s.
*
* Input Parameters:
* bin - Load structure
*
* Returned Value:
* This is a NuttX internal function so it follows the convention that
* 0 (OK) is returned on success and a negated errno is returned on
* failure.
* Zero (OK) on success; a negated errno value on failure
*
****************************************************************************/

View File

@ -22,7 +22,7 @@ config ELF_BUFFERSIZE
This is an I/O buffer that is used to access the ELF file. Variable length items
will need to be read (such as symbol names). This is really just this initial
size of the buffer; it will be reallocated as necessary to hold large symbol
names). Default: 32
names. Default: 32
config ELF_BUFFERINCR
int "ELF I/O Buffer Realloc Increment"
@ -53,12 +53,12 @@ config ELF_RELOCATION_BUFFERCOUNT
int "ELF Relocation Table Buffer Count"
default 256
---help---
This is an relocation buffer that is used to store elf relocation table to
This is a relocation buffer that is used to store elf relocation table to
reduce access fs. Default: 256
config ELF_SYMBOL_CACHECOUNT
int "ELF SYMBOL Table Cache Count"
default 256
---help---
This is an cache that is used to store elf symbol table to
This is a cache that is used to store elf symbol table to
reduce access fs. Default: 256

View File

@ -113,7 +113,7 @@ bool up_checkarch(FAR const Elf32_Ehdr *ehdr)
* Name: up_relocate and up_relocateadd
*
* Description:
* Perform on architecture-specific ELF relocation. Every architecture
* Perform an architecture-specific ELF relocation. Every architecture
* that uses the ELF loader must provide this function.
*
* Input Parameters:

View File

@ -104,7 +104,7 @@ bool up_checkarch(FAR const Elf32_Ehdr *ehdr)
* Name: up_relocate and up_relocateadd
*
* Description:
* Perform on architecture-specific ELF relocation. Every architecture
* Perform an architecture-specific ELF relocation. Every architecture
* that uses the ELF loader must provide this function.
*
* Input Parameters:

View File

@ -102,7 +102,7 @@ bool up_checkarch(FAR const Elf32_Ehdr *ehdr)
* Name: up_relocate and up_relocateadd
*
* Description:
* Perform on architecture-specific ELF relocation. Every architecture
* Perform an architecture-specific ELF relocation. Every architecture
* that uses the ELF loader must provide this function.
*
* Input Parameters:

View File

@ -93,7 +93,7 @@ bool up_checkarch(FAR const Elf32_Ehdr *ehdr)
* Name: up_relocate and up_relocateadd
*
* Description:
* Perform on architecture-specific ELF relocation. Every architecture
* Perform an architecture-specific ELF relocation. Every architecture
* that uses the ELF loader must provide this function.
*
* Input Parameters:

View File

@ -113,7 +113,7 @@ bool up_checkarch(FAR const Elf32_Ehdr *ehdr)
* Name: up_relocate and up_relocateadd
*
* Description:
* Perform on architecture-specific ELF relocation. Every architecture
* Perform an architecture-specific ELF relocation. Every architecture
* that uses the ELF loader must provide this function.
*
* Input Parameters:

View File

@ -93,7 +93,7 @@ bool up_checkarch(FAR const Elf32_Ehdr *ehdr)
* Name: up_relocate and up_relocateadd
*
* Description:
* Perform on architecture-specific ELF relocation. Every architecture
* Perform an architecture-specific ELF relocation. Every architecture
* that uses the ELF loader must provide this function.
*
* Input Parameters:

View File

@ -251,7 +251,7 @@ bool up_checkarch(FAR const Elf_Ehdr *ehdr)
* Name: up_relocate and up_relocateadd
*
* Description:
* Perform on architecture-specific ELF relocation. Every architecture
* Perform an architecture-specific ELF relocation. Every architecture
* that uses the ELF loader must provide this function.
*
* Input Parameters:

View File

@ -84,7 +84,7 @@ bool up_checkarch(FAR const Elf32_Ehdr *hdr)
* Name: up_relocate and up_relocateadd
*
* Description:
* Perform on architecture-specific ELF relocation. Every architecture
* Perform an architecture-specific ELF relocation. Every architecture
* that uses the ELF loader must provide this function.
*
* Input Parameters:

View File

@ -121,7 +121,7 @@ bool up_checkarch(FAR const Elf64_Ehdr *ehdr)
* Name: up_relocate and up_relocateadd
*
* Description:
* Perform on architecture-specific ELF relocation. Every architecture
* Perform an architecture-specific ELF relocation. Every architecture
* that uses the ELF loader must provide this function.
*
* Input Parameters:

View File

@ -92,7 +92,7 @@ bool up_checkarch(FAR const Elf32_Ehdr *hdr)
* Name: up_relocate and up_relocateadd
*
* Description:
* Perform on architecture-specific ELF relocation. Every architecture
* Perform an architecture-specific ELF relocation. Every architecture
* that uses the ELF loader must provide this function.
*
* Input Parameters:

View File

@ -109,7 +109,7 @@ bool up_checkarch(FAR const Elf32_Ehdr *ehdr)
* Name: up_relocate and up_relocateadd
*
* Description:
* Perform on architecture-specific ELF relocation. Every architecture
* Perform an architecture-specific ELF relocation. Every architecture
* that uses the ELF loader must provide this function.
*
* Input Parameters: