DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Common Object File Format (COFF)

Names related to structures, unions, and enumerations

The auxiliary table entries for structure, union, and enumeration symbols have the format shown in ``Entries for structures, unions, and enumerations'':

Entries for structures, unions, and enumerations

Bytes Declaration Name Description
0-3 long int x_tagndx tag index
4-5 - - unused (filled with zeroes)
6-7 unsigned short x_size size of the structure, union, or enumeration
8-17 - - unused (filled with zeroes)

Aggregates defined by typedef may or may not have auxiliary table entries. For example,

   typedef struct people STUDENT;

struct people { char name[20]; long id; };

typedef struct people EMPLOYEE;

The symbol EMPLOYEE has an auxiliary table entry in the symbol table, but symbol STUDENT will not because it is a forward reference to a structure.


Next topic: Auxiliary entry declaration
Previous topic: Format for beginning of block and function

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003