Update relocate() to work with get_memmap().