Move error checking from once per relocation to once per relocation section.