Home | History | Annotate | Download | only in libasm

Lines Matching full:ehdr

40   GElf_Ehdr *ehdr;
59 ehdr = gelf_getehdr (result->out.elf, &ehdr_mem);
61 assert (ehdr != NULL);
64 ehdr->e_type = ET_REL;
66 ehdr->e_version = EV_CURRENT;
69 ehdr->e_machine = machine;
71 ehdr->e_ident[EI_CLASS] = klass;
72 ehdr->e_ident[EI_DATA] = data;
74 memcpy (&ehdr->e_ident[EI_MAG0], ELFMAG, SELFMAG);
77 (void) gelf_update_ehdr (result->out.elf, ehdr);