libc/symtab: Move SYMTAB_XXX from unistd/Kconfig to symtab/Kconfig
Make code and config in the same location Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
2a5f48c3fd
commit
5849cf71d8
3 changed files with 25 additions and 25 deletions
|
|
@ -51,8 +51,8 @@
|
|||
|
||||
struct symtab_s
|
||||
{
|
||||
FAR const char *sym_name; /* A pointer to the symbol name string */
|
||||
FAR const void *sym_value; /* The value associated with the string */
|
||||
FAR const char *sym_name; /* A pointer to the symbol name string */
|
||||
FAR const void *sym_value; /* The value associated with the string */
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
|||
|
|
@ -10,3 +10,26 @@ config ALLSYMS
|
|||
Say Y here to let the nuttx print out symbolic crash information and
|
||||
symbolic stack backtraces. This increases the size of the nuttx
|
||||
somewhat, as all symbols have to be loaded into the nuttx image.
|
||||
|
||||
config SYMTAB_ORDEREDBYNAME
|
||||
bool "Symbol Tables Ordered by Name"
|
||||
default n
|
||||
---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 and only
|
||||
slow, linear searches are supported.
|
||||
|
||||
config SYMTAB_ORDEREDBYVALUE
|
||||
bool "Symbol Tables Ordered by Value"
|
||||
default n
|
||||
---help---
|
||||
Select if the symbol table is ordered by symbol value.
|
||||
|
||||
config SYMTAB_DECORATED
|
||||
bool "Symbols are decorated with leading underscores"
|
||||
default n
|
||||
---help---
|
||||
Select if symbols in relocatable objects are decorated with a leading
|
||||
underscore. This option will remove the underscore from symbol names
|
||||
when relocating a loadable object.
|
||||
|
|
|
|||
|
|
@ -94,29 +94,6 @@ config EXECFUNCS_SYSTEM_SYMTAB
|
|||
endif # EXECFUNCS_HAVE_SYMTAB
|
||||
endif # LIBC_EXECFUNCS
|
||||
|
||||
config SYMTAB_ORDEREDBYNAME
|
||||
bool "Symbol Tables Ordered by Name"
|
||||
default n
|
||||
---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 and only
|
||||
slow, linear searches are supported.
|
||||
|
||||
config SYMTAB_ORDEREDBYVALUE
|
||||
bool "Symbol Tables Ordered by Value"
|
||||
default n
|
||||
---help---
|
||||
Select if the symbol table is ordered by symbol value.
|
||||
|
||||
config SYMTAB_DECORATED
|
||||
bool "Symbols are decorated with leading underscores"
|
||||
default n
|
||||
---help---
|
||||
Select if symbols in relocatable objects are decorated with a leading
|
||||
underscore. This option will remove the underscore from symbol names
|
||||
when relocating a loadable object.
|
||||
|
||||
config POSIX_SPAWN_DEFAULT_STACKSIZE
|
||||
int "Default task_spawn Stack Size"
|
||||
default DEFAULT_TASK_STACKSIZE
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue