Fixed relocation and segment import