Lines Matching refs:oeh
202 GElf_Ehdr oeh;
221 if (gelf_getehdr(ecp->eout, &oeh) == NULL)
226 oeh.e_ident[EI_CLASS] = ecp->oec;
227 oeh.e_ident[EI_DATA] = ecp->oed;
232 oeh.e_ident[EI_OSABI] = ELFOSABI_NONE;
233 oeh.e_machine = ecp->oem;
234 oeh.e_type = ET_REL;
235 oeh.e_entry = 0;
371 oeh.e_entry = entry;
377 if (gelf_update_ehdr(ecp->eout, &oeh) == 0)
384 /* Renew oeh to get the updated e_shstrndx. */
385 if (gelf_getehdr(ecp->eout, &oeh) == NULL)
393 oeh.e_shoff = shtab->off;
396 if (gelf_update_ehdr(ecp->eout, &oeh) == 0)
473 GElf_Ehdr oeh;
490 if (gelf_getehdr(ecp->eout, &oeh) == NULL)
495 oeh.e_ident[EI_CLASS] = ecp->oec;
496 oeh.e_ident[EI_DATA] = ecp->oed;
501 oeh.e_ident[EI_OSABI] = ELFOSABI_NONE;
502 oeh.e_machine = ecp->oem;
503 oeh.e_type = ET_REL;
504 oeh.e_entry = 0;
595 oeh.e_entry = entry;
601 if (gelf_update_ehdr(ecp->eout, &oeh) == 0)
608 /* Renew oeh to get the updated e_shstrndx. */
609 if (gelf_getehdr(ecp->eout, &oeh) == NULL)
617 oeh.e_shoff = shtab->off;
620 if (gelf_update_ehdr(ecp->eout, &oeh) == 0)