Home
last modified time | relevance | path

Searched refs:elfehdr (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libelfsign/common/
H A Delfsignlib.c249 GElf_Ehdr elfehdr; in elfsign_begin() local
333 if (gelf_getehdr(ess->es_elf, &elfehdr) == NULL) { in elfsign_begin()
338 ess->es_has_phdr = (elfehdr.e_phnum != 0); in elfsign_begin()
685 GElf_Ehdr elfehdr; in elfsign_adjustoffsets() local
807 if (gelf_getehdr(ess->es_elf, &elfehdr) == NULL) { in elfsign_adjustoffsets()
811 if (elfehdr.e_shoff < prev_end) { in elfsign_adjustoffsets()
820 elfehdr.e_shoff, prev_end); in elfsign_adjustoffsets()
821 elfehdr.e_shoff = prev_end; in elfsign_adjustoffsets()
822 if (gelf_update_ehdr(ess->es_elf, &elfehdr) == 0) { in elfsign_adjustoffsets()