scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

coff32.h (433B)


      1 #include <scc/coff32/filehdr.h>
      2 #include <scc/coff32/aouthdr.h>
      3 #include <scc/coff32/scnhdr.h>
      4 #include <scc/coff32/syms.h>
      5 #include <scc/coff32/reloc.h>
      6 #include <scc/coff32/linenum.h>
      7 
      8 typedef struct coff32 Coff32;
      9 
     10 struct arch {
     11 	char *name;
     12 	unsigned char magic[2];
     13 	int type;
     14 };
     15 
     16 struct coff32 {
     17 	FILHDR hdr;
     18 	AOUTHDR *aout;
     19 	SCNHDR *scns;
     20 	SYMENT *ents;
     21 	RELOC **rels;
     22 	LINENO **lines;
     23 	char *strtbl;
     24 	unsigned long strsiz;
     25 };