mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
libc/elf: rename modlib to libelf
Renaming "modlib" to "libelf" is more in line with the implementation content, which makes it easier for individual developers to understand the capabilities of this module. CONFIG_LIBC_MODLIB -> CONFIG_LIBC_ELF Signed-off-by: chao an <anchao.archer@bytedance.com>
This commit is contained in:
parent
69cb2e89e9
commit
27846ffec7
6 changed files with 14 additions and 14 deletions
|
|
@ -116,8 +116,8 @@ if [ -z "$prefix" ]; then
|
|||
echo "const struct symtab_s CONFIG_EXECFUNCS_SYMTAB_ARRAY[] = "
|
||||
echo "#elif defined(CONFIG_NSH_SYMTAB)"
|
||||
echo "const struct symtab_s CONFIG_NSH_SYMTAB_ARRAYNAME[] = "
|
||||
echo "#elif defined(CONFIG_MODLIB_HAVE_SYMTAB)"
|
||||
echo "const struct symtab_s CONFIG_MODLIB_SYMTAB_ARRAY[] = "
|
||||
echo "#elif defined(CONFIG_LIBC_ELF_HAVE_SYMTAB)"
|
||||
echo "const struct symtab_s CONFIG_LIBC_ELF_SYMTAB_ARRAY[] = "
|
||||
echo "#else"
|
||||
echo "const struct symtab_s dummy_symtab[] = "
|
||||
echo "#endif"
|
||||
|
|
@ -138,8 +138,8 @@ if [ -z "$prefix" ]; then
|
|||
echo "const int CONFIG_EXECFUNCS_NSYMBOLS_VAR = sizeof(CONFIG_EXECFUNCS_SYMTAB_ARRAY) / sizeof(struct symtab_s);"
|
||||
echo "#elif defined(CONFIG_NSH_SYMTAB)"
|
||||
echo "const int CONFIG_NSH_SYMTAB_COUNTNAME = sizeof(CONFIG_NSH_SYMTAB_ARRAYNAME) / sizeof(struct symtab_s);"
|
||||
echo "#elif defined(CONFIG_MODLIB_HAVE_SYMTAB)"
|
||||
echo "const int CONFIG_MODLIB_NSYMBOLS_VAR = sizeof(CONFIG_MODLIB_SYMTAB_ARRAY) / sizeof(struct symtab_s);"
|
||||
echo "#elif defined(CONFIG_LIBC_ELF_HAVE_SYMTAB)"
|
||||
echo "const int CONFIG_LIBC_ELF_NSYMBOLS_VAR = sizeof(CONFIG_LIBC_ELF_SYMTAB_ARRAY) / sizeof(struct symtab_s);"
|
||||
echo "#else"
|
||||
echo "const int dummy_nsymtabs = sizeof(dummy_symtab) / sizeof(struct symtab_s);"
|
||||
echo "#endif"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue