Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools/mksymtab.sh: Add symbol table for modlib
Configs: +CONFIG_MODLIB_HAVE_SYMTAB=y CONFIG_MODLIB_SYMTAB_ARRAY="g_mod_symtab" CONFIG_MODLIB_NSYMBOLS_VAR="g_mod_nsymbols" Link error: LD: nuttx aarch64-none-elf-ld: /workspace/nuttx/staging/libc.a(modlib_symtab.o): in function `modlib_getsymtab': /workspace/nuttx/libs/libc/modlib/modlib_symtab.c:97:(.text.modlib_getsymtab+0xa0): undefined reference to `g_mod_symtab' aarch64-none-elf-ld: /workspace/nuttx/libs/libc/modlib/modlib_symtab.c:97:(.text.modlib_getsymtab+0xa4): undefined reference to `g_mod_symtab' aarch64-none-elf-ld: /workspace/nuttx/libs/libc/modlib/modlib_symtab.c:98:(.text.modlib_getsymtab+0xa8): undefined reference to `g_mod_nsymbols' aarch64-none-elf-ld: /workspace/nuttx/libs/libc/modlib/modlib_symtab.c:98:(.text.modlib_getsymtab+0xac): undefined reference to `g_mod_nsymbols' Signed-off-by: wangjianyu3 <[email protected]>
- Loading branch information