If an object file contains functions in CODE sections that are mapped to different segments, or just non-contiguous memory areas, and the entry point of the program happens to be in between such areas, we may end up picking the wrong comp_unit as init file. This patch fixes it (as long as the code of the init file itself is contiguous, this should be fine, otherwise the whole thing has to be redesigned). Ok to install?