Home
last modified time | relevance | path

Searched refs:ed_ehdr (Results 1 – 11 of 11) sorted by relevance

/titanic_44/usr/src/cmd/sgs/libelf/common/
H A Dnewphdr.c109 ((Ehdr*)elf->ed_ehdr)->e_phnum = 0; in elf_newphdr()
110 ((Ehdr*)elf->ed_ehdr)->e_phentsize = 0; in elf_newphdr()
120 ((Ehdr*)elf->ed_ehdr)->e_phnum = 0; in elf_newphdr()
121 ((Ehdr*)elf->ed_ehdr)->e_phentsize = 0; in elf_newphdr()
131 ((Ehdr*)elf->ed_ehdr)->e_phnum = (Half)count; in elf_newphdr()
132 ((Ehdr*)elf->ed_ehdr)->e_phentsize in elf_newphdr()
H A Dclscook.c235 elf->ed_ehdr = (Ehdr *)elf->ed_ident; in _elf_ehdr()
238 elf->ed_ehdr = malloc(sizeof (Ehdr)); in _elf_ehdr()
239 if (elf->ed_ehdr == 0) { in _elf_ehdr()
256 dst.d_buf = (Elf_Void *)elf->ed_ehdr; in _elf_ehdr()
264 free(elf->ed_ehdr); in _elf_ehdr()
266 elf->ed_ehdr = 0; in _elf_ehdr()
270 if (((Ehdr*)elf->ed_ehdr)->e_ident[EI_CLASS] != ELFCLASS) { in _elf_ehdr()
274 free(elf->ed_ehdr); in _elf_ehdr()
276 elf->ed_ehdr = 0; in _elf_ehdr()
280 if (((Ehdr*)elf->ed_ehdr)->e_version != elf->ed_version) { in _elf_ehdr()
[all …]
H A Dnewscn.c54 if (elf->ed_ehdr == 0) { in elf_newscn()
82 ((Elf32_Ehdr *)elf->ed_ehdr)->e_shnum in elf_newscn()
112 ((Elf64_Ehdr *)elf->ed_ehdr)->e_shnum in elf_newscn()
H A Dgetehdr.c49 if (elf->ed_ehdr == 0) in getehdr()
52 rc = elf->ed_ehdr; in getehdr()
H A Dcook.c223 free(elf->ed_ehdr); in _elf_cook()
225 elf->ed_ehdr = 0; in _elf_cook()
H A Dupdate.c163 Ehdr * eh = elf->ed_ehdr; in _elf_upd_lib()
347 Ehdr * eh = elf->ed_ehdr; in _elf_upd_usr()
464 Ehdr *eh = elf->ed_ehdr; in wrt()
747 Ehdr *eh = elf->ed_ehdr; in _elfxx_update()
872 eh = elf->ed_ehdr; in _elfxx_swap_wrimage()
H A Dnewehdr.c114 elf->ed_ehdr = eh; in elf_newehdr()
H A Dend.c102 free(elf->ed_ehdr); in elf_end()
H A Ddecl.h332 Elf_Void *ed_ehdr; /* Elf{32,64}_Ehdr elf header */ member
H A Dxlate.m4707 Elf32_Ehdr * ehdr = (Elf32_Ehdr *)elf->ed_ehdr;
H A Dxlate64.m4764 Elf64_Ehdr * ehdr = (Elf64_Ehdr *)elf->ed_ehdr;