Tornado Reference : Tornado Utilities
makeSymTbl - make a table of symbols
makeSymTbl objMod
This tool creates the C code for a symbol table structure containing the names, addresses, and types of all global symbols in the specified object module; the generated code is written to standard output. usrRoot( ) in usrConfig.c inserts these symbols in the standAloneSymTbl.
This tool is used only when creating a standalone system. Normally, it is not needed, since the symbol table is constructed by reading and interpreting the symbol table contained in the system load module (a.out format), either from the local boot disk or from a host system over the network.
The generated symbol table is an array of type SYMBOL accessible through the global variable standTbl. The array contains standTblSize elements. These are the only external declarations in the generated code.
For an example, see the file $WIND_BASE/target/config/bspname/symTbl.c, which is generated by this tool for vxWorks.st in the same directory.
symLib.h symbol table header file a_out.h UNIX BSD 4.3 object module header file
makeSymTbl, xsym