Developer's Topics
Chapter 7, Common Object File Format (COFF)

Names related to structures, unions, and enumerations

Names related to structures, unions, and enumerations

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



Table 7-35 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.