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

Optional header declaration

The C language structure declaration currently used for the UNIX system a.out file header is shown below. This declaration may be found in the header file aouthdr.h.

   typedef struct aouthdr
   {
       short    magic;        /* magic number */
       short    vstamp;       /* version stamp */
       long     tsize;        /* text size in bytes, padded */
                              /* to full word boundary */
   

long dsize; /* initialized data size */

long bsize; /* uninitialized data size */

long entry; /* entry point */

long text_start; /* base of text for this file */

long data_start /* base of data for this file */

} AOUTHDR;


Next topic: Section headers
Previous topic: UNIX system magic numbers

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