Relocation

Because the mscoff relocations cannot be computed until after all the segments are written out, and we need more information than the mscoff relocations provide, make our own relocation type. Later, translate to mscoff relocation structure.

version(COMPILE)
extern (C++) nothrow
struct Relocation {
targ_size_t offset;
Symbol* funcsym;
Symbol* targsym;
uint targseg;
ubyte rtype;
short val;
}

Meta