First pass at supporting relocations. Relocations are written correctly to