Lines Matching refs:debugehdr
445 GElf_Ehdr *debugehdr;
1019 debugehdr = gelf_getehdr (debugelf, &debugehdr_mem);
1020 if (debugehdr == NULL)
1023 memcpy (debugehdr->e_ident, ehdr->e_ident, EI_NIDENT);
1024 debugehdr->e_type = ehdr->e_type;
1025 debugehdr->e_machine = ehdr->e_machine;
1026 debugehdr->e_version = ehdr->e_version;
1027 debugehdr->e_entry = ehdr->e_entry;
1028 debugehdr->e_flags = ehdr->e_flags;
1029 debugehdr->e_shstrndx = ehdr->e_shstrndx;
1031 if (unlikely (gelf_update_ehdr (debugelf, debugehdr) == 0))