summaryrefslogtreecommitdiff
path: root/nuttx/tools
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-06-27 08:14:07 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-06-27 08:14:07 -0600
commit7755d921a8a04fdd7a335bcc45d78747ead15f2b (patch)
treeb5a55fb0fc9c53a30eebe32038564f392a55766f /nuttx/tools
parent466c29f48dfc265e8ce908dd95e593a96560525e (diff)
downloadpx4-nuttx-7755d921a8a04fdd7a335bcc45d78747ead15f2b.tar.gz
px4-nuttx-7755d921a8a04fdd7a335bcc45d78747ead15f2b.tar.bz2
px4-nuttx-7755d921a8a04fdd7a335bcc45d78747ead15f2b.zip
Various changes associated with symbol tables. Most from Pelle Windestam
Diffstat (limited to 'nuttx/tools')
-rw-r--r--nuttx/tools/README.txt2
-rw-r--r--nuttx/tools/mksymtab.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/tools/README.txt b/nuttx/tools/README.txt
index 17416c651..1a8d7cc88 100644
--- a/nuttx/tools/README.txt
+++ b/nuttx/tools/README.txt
@@ -207,7 +207,7 @@ mksymtab.c, cvsparser.c, and cvsparser.h
Example:
cd nuttx/tools
- cat ../syscall/syscall.csv ../lib/lib.csv | sort >tmp.csv
+ cat ../syscall/syscall.csv ../lib/libc.csv | sort >tmp.csv
./mksymtab.exe tmp.csv tmp.c
mkctags.sh
diff --git a/nuttx/tools/mksymtab.c b/nuttx/tools/mksymtab.c
index da60433dd..ea7877b71 100644
--- a/nuttx/tools/mksymtab.c
+++ b/nuttx/tools/mksymtab.c
@@ -222,6 +222,7 @@ int main(int argc, char **argv, char **envp)
fprintf(outstream, "/* %s: Auto-generated symbol table. Do not edit */\n\n", symtab);
fprintf(outstream, "#include <nuttx/config.h>\n");
+ fprintf(outstream, "#include <nuttx/compiler.h>\n");
fprintf(outstream, "#include <nuttx/binfmt/symtab.h>\n\n");
/* Output all of the require header files */