mirror of
https://github.com/apache/nuttx.git
synced 2026-10-07 22:35:22 +00:00
libelf_findsymtab() accepted only a SHT_SYMTAB section. A shared object that strip has processed has no SHT_SYMTAB: only its SHT_DYNSYM remains. With CONFIG_DEBUG_SYMBOLS the application build strips each module in bin/, so every FDPIC module that it builds fails to load with "No symbols in ELF file". Use the dynamic symbol table of a shared object when it has no other symbol table. It holds every symbol that the object imports or exports, which is what the loader looks up. An object with SHT_SYMTAB still uses it. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com> |
||
|---|---|---|
| .. | ||
| libbuiltin | ||
| libc | ||
| libdsp | ||
| libm | ||
| libnx | ||
| libxx | ||
| CMakeLists.txt | ||