|
|
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;