You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2026/10/17 22:32:37 UTC
(nuttx) 01/02: Documentation/fdpic: Say that CMake also generates the system symbol table.
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit f558f1f91dd1891da32c6e8f8052908eeef92c34
Author: Marco Casaroli <ma...@gmail.com>
AuthorDate: Sat Oct 17 20:02:13 2026 +0200
Documentation/fdpic: Say that CMake also generates the system symbol table.
The CMake build now generates the system symbol tables of
CONFIG_EXECFUNCS_SYSTEM_SYMTAB and CONFIG_LIBC_ELF_SYSTEM_SYMTAB, as the
make build does. The FDPIC page still said that only the make build
generates the table.
Say that both builds generate the tables, and from which lists.
Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marco Casaroli <ma...@gmail.com>
---
Documentation/os/binfmt/fdpic.rst | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Documentation/os/binfmt/fdpic.rst b/Documentation/os/binfmt/fdpic.rst
index 943f93f9c13..d4e985b08c0 100644
--- a/Documentation/os/binfmt/fdpic.rst
+++ b/Documentation/os/binfmt/fdpic.rst
@@ -220,9 +220,10 @@ a library be named rather than spelled out as an absolute path::
``dlopen()`` needs ``CONFIG_LIBC_DLFCN`` too.
-Only the make build generates the table of
-``CONFIG_EXECFUNCS_SYSTEM_SYMTAB``. A CMake configuration needs a symbol
-table from elsewhere.
+The make build and the CMake build both generate the table of
+``CONFIG_EXECFUNCS_SYSTEM_SYMTAB`` (and that of
+``CONFIG_LIBC_ELF_SYSTEM_SYMTAB``) from ``libc.csv``, ``libm.csv`` and
+``syscall.csv`` with the host tool ``mksymtab``.
``CONFIG_ELF_STACKSIZE`` gives the stack a module runs with. A module
that needs a different one can export an ``nx_stacksize`` symbol, which