Home
last modified time | relevance | path

Searched refs:Ehdr (Results 1 – 25 of 61) sorted by last modified time

123

/illumos-gate/usr/src/cmd/sgs/include/
H A Dlibld.h253 Ehdr *ofl_dehdr; /* default elf header, and new elf */
254 Ehdr *ofl_nehdr; /* header describing this file */
847 Ehdr *ifl_ehdr; /* elf header describing this file */
H A Ddebug.h1171 extern void Elf_ehdr(Lm_list *, Ehdr *, Shdr *);
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A D_libld.h203 void (* mr_mach_eflags)(Ehdr *, Ofl_desc *);
H A Dupdate.c3020 Ehdr *ehdr = ofl->ofl_nehdr; in update_oehdr()
3854 Ehdr *ehdr = sdp->sd_file->ifl_ehdr; in check_mapfile_assertions()
3919 Ehdr *ehdr = ofl->ofl_nehdr; in ld_update_outfile()
H A Dfiles.c54 ifl_verify(Ehdr *ehdr, Ofl_desc *ofl, Rej_desc *rej) in ifl_verify()
85 ifl_setup(const char *name, Ehdr *ehdr, Elf *elf, Word flags, Ofl_desc *ofl, in ifl_setup()
3110 Ehdr *ehdr; in ld_process_ifl()
H A Dmap_support.c177 if ((ifl->ifl_ehdr = libld_calloc(1, sizeof (Ehdr))) == NULL) in ld_map_ifl()
/illumos-gate/usr/src/uts/common/sys/
H A Dexec.h238 extern int mapexec_brand(vnode_t *, uarg_t *, Ehdr *, Addr *,
240 extern int elfreadhdr(vnode_t *, cred_t *, Ehdr *, uint_t *, caddr_t *,
/illumos-gate/usr/src/uts/common/os/
H A Dbrand.c444 Ehdr32to64(Elf32_Ehdr *src, Ehdr *dst) in Ehdr32to64()
610 Ehdr ehdr; in brand_solaris_elfexec()
H A Dksyms_snapshot.c42 Ehdr elf_hdr; /* Elf file header */
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dobject.c45 static Ehdr dehdr = { { ELFMAG0, ELFMAG1, ELFMAG2, ELFMAG3,
235 Ehdr *ehdr; in elf_obj_fini()
H A Ddlfcns.c2299 Ehdr *ehdr; in dl_iterate_phdr()
2322 ehdr = (Ehdr *) ADDR(lmp); in dl_iterate_phdr()
H A Delf.c144 elf_cap_check(Fdesc *fdp, Ehdr *ehdr, Rej_desc *rej) in elf_cap_check()
209 Ehdr *ehdr; in elf_verify()
217 if (size < sizeof (Ehdr) || in elf_verify()
229 ehdr = (Ehdr *)addr; in elf_verify()
462 Ehdr *ehdr = (Ehdr *)ADDR(lmp); in elf_entry_point()
1628 Ehdr *ehdr = (Ehdr *)addr;
H A Danalyze.c1762 Ehdr *ehdr = NULL; in load_file()
1790 ehdr = (Ehdr *)(mpp->mr_addr + mpp->mr_offset); in load_file()
H A Dsetup.c199 Ehdr *ehdr; in setup()
553 ehdr = (Ehdr *)((Addr)phdr - phdr->p_offset); in setup()
H A D_elf.h59 extern int elf_mach_flags_check(Rej_desc *, Ehdr *);
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c121 Ehdr *ehdr; /* ELF header for file */
1379 uchar_t osabi, Ehdr *ehdr, uint_t flags) in cap_section()
1835 Ehdr *ehdr) in interp()
2494 symbols(Cache *cache, Word shnum, Ehdr *ehdr, uchar_t osabi, in symbols()
2537 sunw_sort(Cache *cache, Word shnum, Ehdr *ehdr, uchar_t osabi, in sunw_sort()
2674 reloc(Cache *cache, Word shnum, Ehdr *ehdr, const char *file) in reloc()
2825 Word dynsec_cnt, Ehdr *ehdr, uchar_t osabi, const char *file) in dyn_test()
3895 note(Cache *cache, Word shnum, Ehdr *ehdr, const char *file) in note()
4349 got(Cache *cache, Word shnum, Ehdr *ehdr, const char *file) in got()
4623 shdr_cache(const char *file, Elf *elf, Ehdr *ehdr, size_t shstrndx, in shdr_cache()
[all …]
/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf.c301 Ehdr ehdr; in elfexec()
308 Ehdr *ehdrp; in elfexec()
1321 Ehdr *ehdr, in mapelfexec()
1687 Ehdr ehdr; in elf_process_obj_scns()
2085 Ehdr *ehdr; in elfcore()
2145 ehdr = (Ehdr *)bigwad; in elfcore()
2181 poffset = sizeof (Ehdr); in elfcore()
2182 soffset = sizeof (Ehdr) + phdrsz; in elfcore()
2183 doffset = sizeof (Ehdr) + phdrsz + shdrsz; in elfcore()
2221 ehdr->e_ehsize = sizeof (Ehdr); in elfcore()
[all …]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dfastboot.c1083 Ehdr *ehdr = (Ehdr *)va; in fastboot_load_kernel()
/illumos-gate/usr/src/cmd/sysdef/
H A Dsysdef.c141 Ehdr *ehdr = NULL;
/illumos-gate/usr/src/cmd/sgs/librtld_db/common/
H A D_rtld_db.h137 psaddr_t, Ehdr *, uint_t *);
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dnewehdr.c61 Ehdr *
64 Ehdr *eh; in elf_newehdr()
76 if ((eh = (Ehdr *)getehdr(elf)) != 0) { in elf_newehdr()
96 if ((eh = (Ehdr *)getehdr(elf)) != 0) { /* this cooks if necessary */ in elf_newehdr()
104 if ((eh = (Ehdr *)malloc(sizeof (Ehdr))) == 0) { in elf_newehdr()
H A Dnewphdr.c107 ((Ehdr*)elf->ed_ehdr)->e_phnum = 0; in elf_newphdr()
108 ((Ehdr*)elf->ed_ehdr)->e_phentsize = 0; in elf_newphdr()
118 ((Ehdr*)elf->ed_ehdr)->e_phnum = 0; in elf_newphdr()
119 ((Ehdr*)elf->ed_ehdr)->e_phentsize = 0; in elf_newphdr()
129 ((Ehdr*)elf->ed_ehdr)->e_phnum = (Half)count; in elf_newphdr()
130 ((Ehdr*)elf->ed_ehdr)->e_phentsize in elf_newphdr()
/illumos-gate/usr/src/cmd/sgs/elfwrap/common/
H A Delfwrap.c219 Ehdr *ehdr; in output()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.h97 extern void mdb_gelf_ehdr_to_gehdr(Ehdr *, GElf_Ehdr *);
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dliblddbg.msg1703 @ MSG_SHD0_TITLE "Section Header[0]: (ELF Ehdr extensions)"

123