aboutsummaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-09-01 15:33:33 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-09-01 15:33:33 +0000
commitb2db45bee3c6915346fb7be8dba064708955549e (patch)
tree74e075e57750eb9ae78c295f6a9e21fac86119b1 /nuttx/configs
parentd1764ac57e1a70cb1447a667dc5f1840c9228d02 (diff)
downloadpx4-firmware-b2db45bee3c6915346fb7be8dba064708955549e.tar.gz
px4-firmware-b2db45bee3c6915346fb7be8dba064708955549e.tar.bz2
px4-firmware-b2db45bee3c6915346fb7be8dba064708955549e.zip
Separate CVS parsing logic from tools/mksyscall.c; Create tools/mksymtab.c to create symbol tables from CSV files
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5075 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/configs')
-rw-r--r--nuttx/configs/README.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/nuttx/configs/README.txt b/nuttx/configs/README.txt
index dc9d8d88e..1b405b3e4 100644
--- a/nuttx/configs/README.txt
+++ b/nuttx/configs/README.txt
@@ -7,6 +7,7 @@ Table of Contents
o Summary of Files
o Supported Architectures
o Configuring NuttX
+ o Building Symbol Tables
Board-Specific Configurations
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1805,3 +1806,26 @@ command line like:
cd tools
./configure.sh -a <app-dir> <board-name>/<config-dir>
+
+Building Symbol Tables
+^^^^^^^^^^^^^^^^^^^^^^
+
+Symbol tables are needed at several of the binfmt interfaces in order to bind
+a module to the base code. These symbol tables can be tricky to create and
+will probably have to be tailored for any specific application, balancing
+the number of symbols and the size of the symbol table against the symbols
+required by the applications.
+
+The top-level System.map file is one good source of symbol information
+(which, or course, was just generated from the top-level nuttx file
+using the GNU 'nm' tool).
+
+There are also common-separated value (CSV) values in the source try that
+provide information about symbols. In particular:
+
+ nuttx/syscall/syscall.csv - Describes the NuttX RTOS interface, and
+ nuttx/lib/lib.csv - Describes the NuttX C library interface.
+
+There is a tool at nuttx/tools/mksymtab that will use these CSV files as
+input to generate a generic symbol table. See nuttx/tools/README.txt for
+more information about using the mksymtab tool.