Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ldfcn(4)

syms(4)  —  File Formats

Digital

NAME

syms − symbol table

SYNOPSIS

#include < sym.h>
#include < symconst.h>

DESCRIPTION

The symbol table departs from the standard COFF symbol table. The symbol table consists of many tables unbundling information usually found in the one COFF symbol table. The symbol table should be viewed as a hand-crafted, network-style database designed for space and access efficiency. 

The following structures or tables appear in the symbol table:

TABLECONTENTS
symbolic headersizes and locations of all other tables.
file descriptorsper file locations for other tables.
procedure descriptorsframe information and location of procedure info.
local symbolslocal type, local variable, and scoping info.
local stringsstring space for local symbols.
line numberscompacted by encoding, contains a line per instruction.
relative file desc.indirection for inter-file symbol access.
optimzation symbolsto be defined.
auxiliary symbolsvariable data type information for each local symbol.
external symbolsloader symbols (global text and data).
external stringsstring space for external symbols.
dense numbers(file, symbol) index pairs for compiler use.

External and local symbols contain the standard concept of a “symbol” as follows:

struct
{
longiss;/∗ index into string space ∗/
longvalue;/∗ address, size, etc., depends on sc and st ∗/
unsignedst: 6;/∗ symbol type (e.g. local, param, etc.) ∗/
unsignedsc: 5;/∗ storage class (e.g. text, bss, etc.) ∗/
unsignedreserved: 1;
unsignedindex;/∗ index to symbol or auxiliary tables ∗/
};

 

RELATED INFORMATION

ldfcn(4). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026