AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox

01.01.2013 Views

I� "--- - . . .� . ' . ) I ry'-._- .

SYMS ( 4) SYMS ( 4) NAME syms - common object file symbol table format SYNOPSIS #include DESCRIPTION Common object files contain information to support symb olic software testing (see sdb (1 ). Line number entries, linenum( 4), and extensive symbolic information permit testing at the C source level. Every object file's symbol table is organized as shown below. File name 1. Function 1. Local symbols for function 1. Function 2 Local symbols for function 2. Static externs for file 1. File name 2. Function 1. Local symbols for function 1. Function 2. Local symbols for function 2. Static externs for file 2. Defined global symbols. Undefined global symbols. The entry for a symbol is a fixed-length structure. The members of the structure hold the name (null padded), its value, and other information. The C structure is given below. #define SYMNMLEN 8 #define FILNMLEN 14 struct syment { char n_name[SYMNMLEN] ; long n_value ; I* value of symbol *I short n_scnum ; I* section number *I unsigned short n_type ; I* type and derived type *I char n_sclass ; I* storage class *I char n_numaux ; I* number of aux entries *I } ; Meaningful values and explanations for them are given in both syms.h and Common Object File Format. Anyone who needs to interpret the entries should seek more information in these sources. Some symbols require more information than a single entry; they are followed by auxiliary entries that are the same size as a symbol entry. The format follows. - 1 -

I�<br />

"---<br />

- . .<br />

.� .<br />

' . )<br />

I<br />

ry'-._-<br />

.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!