URI: 
       aouthdr.h - scc - simple c99 compiler
  HTML git clone git://git.simple-cc.org/scc
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
       aouthdr.h (655B)
       ---
            1 /* This file is inspired in the book "Understanding and using COFF" */
            2 
            3 struct aouthdr {
            4         short magic;        /* magic number */
            5         short vstamp;       /* version stamp */
            6         long tsize;         /* text size in bytes */
            7         long dsize;         /* initialized data size */
            8         long bsize;         /* uinitialized data size */
            9         long entry;         /* entry point */
           10         long text_start;    /* base of text segment */
           11         long data_start;    /* base of data segment */
           12 };
           13 
           14 #define AOUTHDR struct aouthdr 
           15 #define AOUTSZ 28
           16 
           17 #define QMAGIC      0314
           18 #define STMAGIC     0401
           19 #define OMAGIC      0404
           20 #define JMAGIC      0407
           21 #define DMAGIC      0410
           22 #define ZMAGIC      0413