sched/Kconfig, libs/libc/dllfcn/Kconfig, libs/libc/modlib/Kconfig: Refine ELF related configurations.

This commit is contained in:
Xiang Xiao
2019-01-26 11:50:09 -06:00
committed by Gregory Nutt
parent 88efb84847
commit c43e4673ab
3 changed files with 6 additions and 5 deletions
+1 -2
View File
@@ -8,8 +8,7 @@
config LIBC_DLLFCN
bool "Shared library support"
default n
select LIBC_ARCH_ELF
select LIBC_MODLIB if !BUILD_KERNEL
select LIBC_MODLIB if !BUILD_FLAT
select MODULE if BUILD_FLAT
depends on EXPERIMENTAL || !BUILD_KERNEL
---help---
+5 -2
View File
@@ -6,6 +6,7 @@
config LIBC_MODLIB
bool
default n
select LIBC_ARCH_ELF
menu "Module library configuration"
depends on LIBC_MODLIB
@@ -68,11 +69,13 @@ if MODLIB_HAVE_SYMTAB
config MODLIB_SYMTAB_ARRAY
string "Symbol table name used by dlsym"
default "g_mod_symtab"
default "g_mod_symtab" if !EXECFUNCS_HAVE_SYMTAB
default EXECFUNCS_SYMTAB_ARRAY if EXECFUNCS_HAVE_SYMTAB
config MODLIB_NSYMBOLS_VAR
string "Name of variable holding the number of symbols"
default "g_mod_nsymbols"
default "g_mod_nsymbols" if !EXECFUNCS_HAVE_SYMTAB
default EXECFUNCS_NSYMBOLS_VAR if EXECFUNCS_HAVE_SYMTAB
endif # MODLIB_HAVE_SYMTAB