Lines Matching defs:dst_ehdr
690 GElf_Ehdr dst_ehdr;
724 /* initialize dst_ehdr */
725 (void) gelf_getehdr(dst_elf, &dst_ehdr);
726 dst_ehdr = *src_ehdr;
734 dst_ehdr.e_shstrndx = SHN_UNDEF;
740 (void) gelf_update_ehdr(dst_elf, &dst_ehdr);
765 x = location(dst_ehdr.e_phoff, 0, src_elf, state);
1145 dst_ehdr.e_shstrndx =
1146 state->sec_table[dst_ehdr.e_shstrndx].secno;
1155 dst_ehdr.e_shstrndx = SHN_XINDEX;
1171 if (location(dst_ehdr.e_phoff, 0, dst_elf, state) == AFTER) {
1176 dst_ehdr.e_phoff = new_offset;
1177 new_offset += dst_ehdr.e_phnum * dst_ehdr.e_phentsize;
1180 if ((location(dst_ehdr.e_shoff, 0, src_elf, state) == AFTER) ||
1181 ((location(dst_ehdr.e_shoff, 0, src_elf, state) == PRIOR) &&
1187 dst_ehdr.e_shoff = new_offset;
1219 (void) gelf_update_ehdr(dst_elf, &dst_ehdr);