reloc.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
---
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) */