scc

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

coff32.c (469B)


      1 #include <stdio.h>
      2 
      3 #include <scc/mach.h>
      4 
      5 #include "../libmach.h"
      6 #include "coff32.h"
      7 
      8 struct objops coff32 = {
      9 	.type = coff32type,
     10 	.probe = coff32probe,
     11 	.new = coff32new,
     12 	.read = coff32read,
     13 	.getidx = coff32getidx,
     14 	.setidx = coff32setidx,
     15 	.pc2line = coff32pc2line,
     16 	.strip = coff32strip,
     17 	.del = coff32del,
     18 	.write = coff32write,
     19 	.getsym = coff32getsym,
     20 	.setsym = coff32setsym,
     21 	.getsec = coff32getsec,
     22 	.setsec = coff32setsec,
     23 	.loadmap = coff32loadmap,
     24 };