Home
last modified time | relevance | path

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

/freebsd/contrib/elftoolchain/elfcopy/
H A Dbinary.c144 GElf_Ehdr oeh; in create_elf_from_binary() local
175 if (gelf_getehdr(ecp->eout, &oeh) == NULL) in create_elf_from_binary()
180 oeh.e_ident[EI_CLASS] = ecp->oec; in create_elf_from_binary()
181 oeh.e_ident[EI_DATA] = ecp->oed; in create_elf_from_binary()
186 oeh.e_ident[EI_OSABI] = ELFOSABI_NONE; in create_elf_from_binary()
187 oeh.e_machine = ecp->oem; in create_elf_from_binary()
188 oeh.e_type = ET_REL; in create_elf_from_binary()
189 oeh.e_entry = 0; in create_elf_from_binary()
253 if (gelf_update_ehdr(ecp->eout, &oeh) == 0) in create_elf_from_binary()
271 if (gelf_getehdr(ecp->eout, &oeh) == NULL) in create_elf_from_binary()
[all …]
H A Dascii.c202 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()
[all …]
H A Dmain.c284 GElf_Ehdr oeh; in create_elf() local
306 if (gelf_getehdr(ecp->eout, &oeh) == NULL) in create_elf()
310 memcpy(oeh.e_ident, ieh.e_ident, sizeof(ieh.e_ident)); in create_elf()
311 oeh.e_ident[EI_CLASS] = ecp->oec; in create_elf()
312 oeh.e_ident[EI_DATA] = ecp->oed; in create_elf()
314 oeh.e_ident[EI_OSABI] = ecp->abi; in create_elf()
315 oeh.e_flags = ieh.e_flags; in create_elf()
316 oeh.e_machine = ieh.e_machine; in create_elf()
317 oeh.e_type = ieh.e_type; in create_elf()
318 oeh.e_entry = ieh.e_entry; in create_elf()
[all …]