scc

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

reloc.h (342B)


      1 /* This file is inspired in the book "Understanding and using COFF" */
      2 
      3 struct reloc {
      4 	long r_vaddr;           /* address of reference */
      5 	long r_symndx;          /* index into symbol table */
      6 	unsigned short r_type; /* relocation type */
      7 };
      8 
      9 #define RELOC           struct reloc
     10 #define RELSZ           10              /* sizeof (RELOC) */