Lines Matching refs:oeh

202 	GElf_Ehdr oeh;  in create_elf_from_srec()  local
221 if (gelf_getehdr(ecp->eout, &oeh) == NULL) in create_elf_from_srec()
226 oeh.e_ident[EI_CLASS] = ecp->oec; in create_elf_from_srec()
227 oeh.e_ident[EI_DATA] = ecp->oed; in create_elf_from_srec()
232 oeh.e_ident[EI_OSABI] = ELFOSABI_NONE; in create_elf_from_srec()
233 oeh.e_machine = ecp->oem; in create_elf_from_srec()
234 oeh.e_type = ET_REL; in create_elf_from_srec()
235 oeh.e_entry = 0; in create_elf_from_srec()
371 oeh.e_entry = entry; in create_elf_from_srec()
377 if (gelf_update_ehdr(ecp->eout, &oeh) == 0) in create_elf_from_srec()
385 if (gelf_getehdr(ecp->eout, &oeh) == NULL) in create_elf_from_srec()
393 oeh.e_shoff = shtab->off; in create_elf_from_srec()
396 if (gelf_update_ehdr(ecp->eout, &oeh) == 0) in create_elf_from_srec()
473 GElf_Ehdr oeh; in create_elf_from_ihex() local
490 if (gelf_getehdr(ecp->eout, &oeh) == NULL) in create_elf_from_ihex()
495 oeh.e_ident[EI_CLASS] = ecp->oec; in create_elf_from_ihex()
496 oeh.e_ident[EI_DATA] = ecp->oed; in create_elf_from_ihex()
501 oeh.e_ident[EI_OSABI] = ELFOSABI_NONE; in create_elf_from_ihex()
502 oeh.e_machine = ecp->oem; in create_elf_from_ihex()
503 oeh.e_type = ET_REL; in create_elf_from_ihex()
504 oeh.e_entry = 0; in create_elf_from_ihex()
595 oeh.e_entry = entry; in create_elf_from_ihex()
601 if (gelf_update_ehdr(ecp->eout, &oeh) == 0) in create_elf_from_ihex()
609 if (gelf_getehdr(ecp->eout, &oeh) == NULL) in create_elf_from_ihex()
617 oeh.e_shoff = shtab->off; in create_elf_from_ihex()
620 if (gelf_update_ehdr(ecp->eout, &oeh) == 0) in create_elf_from_ihex()