Re-implementation of relocations handling.
Swap paddr <=> vaddr