Manual Page Result
0
Command: syms | Section: 4 | Source: Digital UNIX | File: syms.4.gz
syms(4) Kernel Interfaces Manual syms(4)
NAME
syms - Symbol table
SYNOPSIS
#include <sym.h>
#include <symconst.h>
DESCRIPTION
The symbol table departs from the standard COFF symbol table. The sym-
bol table consists of many tables unbundling information usually found
in the one COFF symbol table. The symbol table should be viewed as a
handcrafted, network-style database designed for space and access effi-
ciency.
The following structures or tables appear in the symbol table:
tab(@); lfHB lfHB l l. _
Table@Contents
_
Symbolic header@Sizes and locations of all other tables
File descriptors@Per file locations for other tables
Procedure descriptors@T{ Frame information and location of procedure
information T}
Local symbols@T{ Local type, local variable, and scoping information T}
Local strings@T{ String space for local symbols T}
Line numbers@T{ Compacted by encoding, contains a line per instruction
T}
Relative file desc.@T{ Indirection for inter-file symbol access T}
Optimization symbols@T{ To be defined T}
Auxiliary symbols@T{ Data type information for local and external sym-
bols T}
External symbols@T{ Global text and data symbols T}
External strings@T{ String space for external symbols T}
Dense numbers@T{ Index pairs (file, symbol) for compiler use (-oldc
only) T}
_
External and local symbols are both represented using the following
structure:
struct {
long iss; /* index into string space */
long value; /* address, size, etc.; depends on sc and st */
unsigned st: 6; /* symbol type (e.g., local, param, etc.) */
unsigned sc: 5; /* storage class (e.g., text, bss, etc.) */
unsigned reserved: 1;
unsigned index; /* index to symbol or auxiliary tables */ };
RELATED INFORMATION
ldfcn(4). delim off
syms(4)