/titanic_41/usr/src/cmd/sgs/libelf/common/ |
H A D | newehdr.c | 63 Ehdr * 66 Ehdr *eh; in elf_newehdr() 78 if ((eh = (Ehdr *)getehdr(elf)) != 0) { in elf_newehdr() 98 if ((eh = (Ehdr *)getehdr(elf)) != 0) { /* this cooks if necessary */ in elf_newehdr() 106 if ((eh = (Ehdr *)malloc(sizeof (Ehdr))) == 0) { in elf_newehdr()
|
H A D | newphdr.c | 109 ((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 D | clscook.c | 230 if (inplace && (fsz >= sizeof (Ehdr))) { in _elf_ehdr() 235 elf->ed_ehdr = (Ehdr *)elf->ed_ident; in _elf_ehdr() 238 elf->ed_ehdr = malloc(sizeof (Ehdr)); in _elf_ehdr() 257 dst.d_size = sizeof (Ehdr); in _elf_ehdr() 270 if (((Ehdr*)elf->ed_ehdr)->e_ident[EI_CLASS] != ELFCLASS) { in _elf_ehdr() 280 if (((Ehdr*)elf->ed_ehdr)->e_version != elf->ed_version) { in _elf_ehdr() 301 Ehdr * eh = elf->ed_ehdr; /* must be present */ in _elf_phdr() 362 register Ehdr *eh = elf->ed_ehdr; /* must be present */ in _elf_shdr()
|
H A D | update.c | 163 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() 535 src.d_size = sizeof (Ehdr); in wrt() 747 Ehdr *eh = elf->ed_ehdr; in _elfxx_update() 862 Ehdr *eh; in _elfxx_swap_wrimage() 879 src.d_size = dst.d_size = sizeof (Ehdr); in _elfxx_swap_wrimage()
|
/titanic_41/usr/src/lib/libproc/common/ |
H A D | Psymtab_machelf32.c | 211 Ehdr *ehdr, uint_t phnum, Phdr *phdr) in fake_elf64() 215 Ehdr *ehdr, uint_t phnum, Phdr *phdr) in fake_elf64() 250 Ehdr *ep; in fake_elf64() 342 size = sizeof (Ehdr); in fake_elf64() 451 ep = (Ehdr *)elfdata; in fake_elf64() 452 (void) memcpy(ep, ehdr, offsetof(Ehdr, e_phoff)); in fake_elf64() 454 ep->e_ehsize = sizeof (Ehdr); in fake_elf64() 455 ep->e_phoff = sizeof (Ehdr); in fake_elf64()
|
/titanic_41/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 79 static int getelfhead(vnode_t *, cred_t *, Ehdr *, int *, int *, int *); 80 static int getelfphdr(vnode_t *, cred_t *, const Ehdr *, int, caddr_t *, 82 static int getelfshdr(vnode_t *, cred_t *, const Ehdr *, int, int, caddr_t *, 84 static size_t elfsize(Ehdr *, int, caddr_t, uintptr_t *); 85 static int mapelfexec(vnode_t *, Ehdr *, int, caddr_t, 174 mapexec_brand(vnode_t *vp, uarg_t *args, Ehdr *ehdr, Addr *uphdr_vaddr, in mapexec_brand() 285 Ehdr ehdr; in elfexec() 292 Ehdr *ehdrp; in elfexec() 943 elfsize(Ehdr *ehdrp, int nphdrs, caddr_t phdrbase, uintptr_t *lddata) in elfsize() 997 getelfhead(vnode_t *vp, cred_t *credp, Ehdr *ehdr, int *nshdrs, int *shstrndx, in getelfhead() [all …]
|
/titanic_41/usr/src/cmd/sgs/lari/ |
H A D | lari.pl | 1210 my ($Ehdr) = 0; 1255 $Ehdr = 1; 1259 $Ehdr = $Rel = $Info = 0; 1262 $Ehdr = $Dyn = $Info = 0; 1265 $Ehdr = $Dyn = $Rel = 0; 1271 $Ehdr = $Dyn = $Rel = $Info = 0; 1273 $Ehdr = $Dyn = $Rel = $Info = 0; 1279 if ($Ehdr eq 1) { 1288 $Ehdr = 0;
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | machelf.h | 76 typedef Elf64_Ehdr Ehdr; typedef 123 typedef Elf32_Ehdr Ehdr;
|
H A D | kobj.h | 58 Ehdr hdr;
|
H A D | exec.h | 242 extern int mapexec_brand(vnode_t *, uarg_t *, Ehdr *, Addr *,
|
/titanic_41/usr/src/cmd/sgs/librtld_db/i386/ |
H A D | plt32_resolution.c | 54 Ehdr ehdr; in rli_func() 71 sizeof (Ehdr)) != PS_OK) { in rli_func()
|
/titanic_41/usr/src/cmd/sgs/librtld_db/common/ |
H A D | rd_elf.c | 375 psaddr_t addr, Ehdr *ehdr, uint_t *phnum) in _rd_get_ehdr32() 415 Ehdr ehdr; in _rd_get_dyns32() 560 Ehdr ehdr; in iter_map() 635 sizeof (Ehdr)) != PS_OK) { in iter_map() 639 off += sizeof (Ehdr); in iter_map()
|
H A D | _rtld_db.h | 139 psaddr_t, Ehdr *, uint_t *);
|
/titanic_41/usr/src/uts/sparc/krtld/ |
H A D | kobj_isa.c | 47 elf_mach_ok(Ehdr *h) in elf_mach_ok()
|
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gelf.h | 99 extern void mdb_gelf_ehdr_to_gehdr(Ehdr *, GElf_Ehdr *);
|
/titanic_41/usr/src/cmd/sgs/elfdump/common/ |
H A D | elfdump.c | 117 Ehdr *ehdr; /* ELF header for file */ 454 sections(const char *file, Cache *cache, Word shnum, Ehdr *ehdr, uchar_t osabi) in sections() 536 unwind_eh_frame(Cache *cache, Word shndx, Word shnum, Phdr *uphdr, Ehdr *ehdr, in unwind_eh_frame() 855 unwind(Cache *cache, Word shnum, Word phnum, Ehdr *ehdr, uchar_t osabi, in unwind() 967 Ehdr *ehdr, uchar_t osabi, VERSYM_STATE *versym, const char *file, in init_symtbl_state() 1310 uchar_t osabi, Ehdr *ehdr, uint_t flags) in cap_section() 1684 cap(const char *file, Cache *cache, Word shnum, Word phnum, Ehdr *ehdr, in cap() 1844 syminfo(Cache *cache, Word shnum, Ehdr *ehdr, uchar_t osabi, const char *file) in syminfo() 2417 symbols(Cache *cache, Word shnum, Ehdr *ehdr, uchar_t osabi, in symbols() 2460 sunw_sort(Cache *cache, Word shnum, Ehdr *ehdr, uchar_t osabi, in sunw_sort() [all …]
|
/titanic_41/usr/src/uts/sun4/os/ |
H A D | mlsetup.c | 392 Ehdr *ehdr; 407 ehdr = (Ehdr *)(uintptr_t)eadr;
|
/titanic_41/usr/src/cmd/sgs/rtld/common/ |
H A D | object.c | 45 static Ehdr dehdr = { { ELFMAG0, ELFMAG1, ELFMAG2, ELFMAG3, 237 Ehdr *ehdr; in elf_obj_fini()
|
H A D | elf.c | 170 elf_cap_check(Fdesc *fdp, Ehdr *ehdr, Rej_desc *rej) in elf_cap_check() 235 Ehdr *ehdr; in elf_verify() 243 if (size < sizeof (Ehdr) || in elf_verify() 255 ehdr = (Ehdr *)addr; in elf_verify() 488 Ehdr *ehdr = (Ehdr *)ADDR(lmp); in elf_entry_point() 1654 Ehdr *ehdr = (Ehdr *)addr;
|
H A D | _elf.h | 59 extern int elf_mach_flags_check(Rej_desc *, Ehdr *);
|
/titanic_41/usr/src/cmd/fs.d/cachefs/cachefspack/ |
H A D | elfrd.c | 113 Elf32_Ehdr *Ehdr; in get_share_obj() local 193 if ((Ehdr = elf32_getehdr(elfp)) == NULL) { in get_share_obj()
|
/titanic_41/usr/src/cmd/sgs/liblddbg/common/ |
H A D | elf.c | 33 Elf_ehdr(Lm_list *lml, Ehdr *ehdr, Shdr *shdr0) in Elf_ehdr()
|
/titanic_41/usr/src/cmd/sgs/ldprof/common/ |
H A D | profile.c | 172 Ehdr * ehdr; /* ELF header for file */ in profile_open() 214 ehdr = (Ehdr *)lpc; in profile_open()
|
/titanic_41/usr/src/cmd/sgs/include/ |
H A D | libld.h | 251 Ehdr *ofl_dehdr; /* default elf header, and new elf */ 252 Ehdr *ofl_nehdr; /* header describing this file */ 838 Ehdr *ifl_ehdr; /* elf header describing this file */
|
/titanic_41/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | phdr.c | 226 Ehdr *ehdr = obj_state->os_ehdr; in process_args() 351 Ehdr *ehdr = argstate->obj_state->os_ehdr; in print_phdr() 690 Ehdr *ehdr = obj_state->os_ehdr; in cmd_body() 823 Ehdr *ehdr = obj_state->os_ehdr; in cmd_body()
|