Huang Qi
b21f68d751
tools/mksymtab: Fix a compilation warning
...
Fix:
```
mksymtab.c: In function ‘main’:
mksymtab.c:280:15: warning: the comparison will always evaluate as ‘true’ for the address of ‘g_parm’ will never be NULL [-Waddress]
280 | cond = (g_parm[COND_INDEX] && strlen(g_parm[COND_INDEX]) > 0);
```
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-04-23 12:22:19 +08:00
Alin Jerpelea
26e1f1f249
tools: Author Gregory Nutt: update licenses to Apache
...
Gregory Nutt has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-02-19 08:07:47 -08:00
Alin Jerpelea
00ac789e4e
tools: fix nxstyle errors
...
Fix nxstyle errors to pass CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-02-19 08:07:47 -08:00
Gregory Nutt
e8542c844c
tools/README.txt: Update to show new usage of mksymtab.
2019-09-30 13:46:33 -06:00
Gregory Nutt
0671ced130
tools/mksymtab.c: Fix a typo help introduced in last commit. Show default values.
2019-09-30 12:59:34 -06:00
Gregory Nutt
ba51027449
tools/mksymtab.c: Clean up syntax of help text.
2019-09-30 08:59:21 -06:00
Xiang Xiao
4d7dac47f9
libs/symtab/Makefile and tools/mksymtab.c: Ensure that the generated symbol table name same as the configuration option.
2019-09-28 11:02:53 -06:00
Pavel Pisa
ad5448d9b4
mksymtab: declare g_symtab array as conts to occupy RO section (Flash).
2015-08-23 08:17:30 -06:00
Gregory Nutt
54847a163f
Make some file section headers more consistent with standard
2015-04-08 09:15:17 -06:00
Gregory Nutt
33121dd0d0
Various changes associated with symbol tables. Most from Pelle Windestam
2014-06-27 08:14:07 -06:00
Gregory Nutt
f8024cf409
More trailing whilespace removal
2014-04-13 16:22:22 -06:00
Gregory Nutt
91b002a043
Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced
2014-02-10 18:08:49 -06:00
patacongo
b8f437ef4b
Move binfmt.h, nxflat.h, elf.h, and symtab.h to include/nuttx/binfmt/
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5252 42af7a65-404d-4744-a932-0658087f49c3
2012-10-24 20:19:44 +00:00
patacongo
3e9b3c1c7f
mksymtab: Fix handling of final comma. Some C compilers can't handle them; Also add macro to provide the size of the symbol table
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5077 42af7a65-404d-4744-a932-0658087f49c3
2012-09-01 16:47:40 +00:00
patacongo
599dc4f454
Ooops.. mksymtab needs to check for zero-length header file names
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5076 42af7a65-404d-4744-a932-0658087f49c3
2012-09-01 15:46:49 +00:00
patacongo
8b768dc6fa
Separate CVS parsing logic from tools/mksyscall.c; Create tools/mksymtab.c to create symbol tables from CSV files
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5075 42af7a65-404d-4744-a932-0658087f49c3
2012-09-01 15:33:33 +00:00