HelenOS sources

load_segment       52 kernel/generic/src/lib/elf.c static errno_t load_segment(elf_segment_header_t *, elf_header_t *, as_t *);
load_segment      101 kernel/generic/src/lib/elf.c 		errno_t rc = load_segment(seghdr, header, as);
load_segment       68 uspace/lib/c/generic/elf/elf_mod.c static errno_t load_segment(elf_ld_t *elf, elf_segment_header_t *entry);
load_segment      262 uspace/lib/c/generic/elf/elf_mod.c 		rc = load_segment(elf, &phdr[i]);
HelenOS homepage, sources at GitHub