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

A.OUT (4) A.OUT (4) char n_numaux; /* number of aux entries */ }; #define n _name _n ._n_name #define n_zeroes _n ._n_n ._n_zeroes #define n_offset _n ._n_n ._n_offset #define n _nptr _n ._n_nptr]l] Some symbols require more information than a single entry; they are followed by auxiliary entrie8 that are the same size as a symbol entry. The format follows: union auxent { struct { long x_tagndx; union { struct { unsigned short x_lnno; unsigned short x_size; } x_lnsz; long x_fsize; } x_misc; union { struct { long x_lnnoptr; long x_endndx; } x_fcn; struct { unsigned short x_dimen[DIMNUM]; } x_ary; } x_fcnary; unsigned short x_tvndx; } x_sym; }; struct { char x_fname[FILNMLEN] ; } x_file; struct { long x_scnlen; unsigned short x_nreloc; unsigned short x_nlinno; } x_scn; struct { long x_tvfill; unsigned short x_tvlen; unsigned short x_tvran[2]; } x_tv; Indexes of symbol table entries begin at zero . The start of the symbol table is f_Bymptr (from the file header) bytes from the beginning of the file. If the symbol table is stripped, f_Bymptr is 0. The string table (if one exists) begins at f_Bymptr + (f_nBymB - 4-

�· \ A.OUT ( 4) A.OUT (4) SYSEMZ) bytes from the beginning of the file. SEE ALSO as(l), cc(l), ld(l), brk(2), filehdr(4), ldfcn(4), linenum(4), reloc(4), scnhdr(4), syms(4). - 5 -

A.OUT (4) A.OUT (4)<br />

char n_numaux; /* number of aux entries */<br />

};<br />

#define n _name _n ._n_name<br />

#define n_zeroes _n ._n_n ._n_zeroes<br />

#define n_offset _n ._n_n ._n_offset<br />

#define n _nptr _n ._n_nptr]l]<br />

Some symbols require more information than a single entry; they<br />

are followed by auxiliary entrie8 that are the same size as a symbol<br />

entry. The format follows:<br />

union auxent {<br />

struct {<br />

long x_tagndx;<br />

union {<br />

struct {<br />

unsigned short x_lnno;<br />

unsigned short x_size;<br />

} x_lnsz;<br />

long x_fsize;<br />

} x_misc;<br />

union {<br />

struct {<br />

long x_lnnoptr;<br />

long x_endndx;<br />

} x_fcn;<br />

struct {<br />

unsigned short x_dimen[DIMNUM];<br />

} x_ary;<br />

} x_fcnary;<br />

unsigned short x_tvndx;<br />

} x_sym;<br />

};<br />

struct {<br />

char x_fname[FILNMLEN] ;<br />

} x_file;<br />

struct {<br />

long x_scnlen;<br />

unsigned short x_nreloc;<br />

unsigned short x_nlinno;<br />

} x_scn;<br />

struct {<br />

long x_tvfill;<br />

unsigned short x_tvlen;<br />

unsigned short x_tvran[2];<br />

} x_tv;<br />

Indexes of symbol table entries begin at zero . The start of the<br />

symbol table is f_Bymptr (from the file header) bytes from the<br />

beginning of the file. If the symbol table is stripped, f_Bymptr is<br />

0. The string table (if one exists) begins at f_Bymptr + (f_nBymB<br />

- 4-

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

Saved successfully!

Ooh no, something went wrong!