sched/Kconfig, libs/libc/dllfcn/Kconfig, libs/libc/modlib/Kconfig: Refine ELF related configurations.
This commit is contained in:
parent
88efb84847
commit
c43e4673ab
@ -8,8 +8,7 @@
|
|||||||
config LIBC_DLLFCN
|
config LIBC_DLLFCN
|
||||||
bool "Shared library support"
|
bool "Shared library support"
|
||||||
default n
|
default n
|
||||||
select LIBC_ARCH_ELF
|
select LIBC_MODLIB if !BUILD_FLAT
|
||||||
select LIBC_MODLIB if !BUILD_KERNEL
|
|
||||||
select MODULE if BUILD_FLAT
|
select MODULE if BUILD_FLAT
|
||||||
depends on EXPERIMENTAL || !BUILD_KERNEL
|
depends on EXPERIMENTAL || !BUILD_KERNEL
|
||||||
---help---
|
---help---
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
config LIBC_MODLIB
|
config LIBC_MODLIB
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
select LIBC_ARCH_ELF
|
||||||
|
|
||||||
menu "Module library configuration"
|
menu "Module library configuration"
|
||||||
depends on LIBC_MODLIB
|
depends on LIBC_MODLIB
|
||||||
@ -68,11 +69,13 @@ if MODLIB_HAVE_SYMTAB
|
|||||||
|
|
||||||
config MODLIB_SYMTAB_ARRAY
|
config MODLIB_SYMTAB_ARRAY
|
||||||
string "Symbol table name used by dlsym"
|
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
|
config MODLIB_NSYMBOLS_VAR
|
||||||
string "Name of variable holding the number of symbols"
|
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
|
endif # MODLIB_HAVE_SYMTAB
|
||||||
|
|
||||||
|
@ -1487,7 +1487,6 @@ config MODULE
|
|||||||
bool "Enable loadable OS modules"
|
bool "Enable loadable OS modules"
|
||||||
default n
|
default n
|
||||||
select LIBC_MODLIB
|
select LIBC_MODLIB
|
||||||
select LIBC_ARCH_ELF
|
|
||||||
---help---
|
---help---
|
||||||
Enable support for loadable OS modules. Default: n
|
Enable support for loadable OS modules. Default: n
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user