Home
last modified time | relevance | path

Searched refs:Elf32_Ehdr (Results 1 – 25 of 54) sorted by relevance

123

/titanic_52/usr/src/cmd/sgs/libelf/common/
H A Dgetehdr.c59 Elf32_Ehdr *
62 return ((Elf32_Ehdr*) getehdr(elf, ELFCLASS32)); in elf32_getehdr()
H A Ddata.c62 const Elf32_Ehdr _elf32_ehdr_init = { 0 };
H A Dchecksum.c93 #define Elf_Ehdr Elf32_Ehdr
H A Dllib-lelf41 Elf32_Ehdr * elf32_getehdr(Elf *);
44 Elf32_Ehdr * elf32_newehdr(Elf *);
H A Dnewscn.c82 ((Elf32_Ehdr *)elf->ed_ehdr)->e_shnum in elf_newscn()
/titanic_52/usr/src/lib/libc/i386/crt/
H A D_rtld.c83 Elf32_Ehdr *ehdr; /* ELF header of ld.so */ in __rtld()
139 ehdr = (Elf32_Ehdr *)MMAP(0, sb.st_size, PROT_READ | PROT_EXEC, in __rtld()
141 if (ehdr == (Elf32_Ehdr *)-1) in __rtld()
/titanic_52/usr/src/lib/libc/sparc/crt/
H A D_rtld.c82 Elf32_Ehdr *ehdr; /* ELF header of ld.so */ in __rtld()
138 ehdr = (Elf32_Ehdr *)MMAP(0, sb.st_size, PROT_READ | PROT_EXEC, in __rtld()
140 if (ehdr == (Elf32_Ehdr *)-1) in __rtld()
/titanic_52/usr/src/ucblib/libucb/port/gen/
H A Dnlist.c150 Elf32_Ehdr *ehdr; /* file header */ in _elf_nlist()
165 sizeof (Elf32_Ehdr), ELF_T_EHDR)) == 0) in _elf_nlist()
168 ehdr = (Elf32_Ehdr *)edata->d_buf; in _elf_nlist()
178 (size_t)(ehdr->e_shnum * sizeof (Elf32_Ehdr)), in _elf_nlist()
/titanic_52/usr/src/head/
H A Dlibelf.h176 Elf32_Ehdr *elf32_getehdr(Elf *);
194 Elf32_Ehdr *elf32_newehdr(Elf *);
/titanic_52/usr/src/tools/btxld/
H A Delfh.h38 Elf32_Ehdr e; /* ELF header */
/titanic_52/usr/src/lib/libproc/common/
H A DPsymtab_machelf.h37 uintptr_t addr, Elf32_Ehdr *ehdr, uint_t phnum, Elf32_Phdr *phdr);
/titanic_52/usr/src/cmd/abi/appcert/static_prof/
H A Dstatic_prof.c405 Elf32_Ehdr *ptr; in obj_elf_hdr()
420 if ((ptr = elf32_getehdr(c->obj->elf)) == (Elf32_Ehdr *) 0) { in obj_elf_hdr()
432 c->obj->ehdr = (Elf32_Ehdr *) ptr; in obj_elf_hdr()
861 Elf32_Ehdr * ehdr) in is_text_section()
907 Elf32_Ehdr * ehdr) in scan_archive_symbols()
1173 Elf32_Ehdr * ehdr, in print_symtab()
1263 Elf32_Ehdr * ehdr, in get_symtab()
1331 Elf32_Ehdr *ehdr; in process()
H A Dstatic_prof.h107 Elf32_Ehdr *ehdr; /* 32 bit elf header for current file */
/titanic_52/usr/src/cmd/sgs/link_audit/common/
H A Dwho.h40 #define Elf_Ehdr Elf32_Ehdr
/titanic_52/usr/src/cmd/sgs/rtld.4.x/
H A Drtld.4.x.c223 Elf32_Ehdr *ehdr; /* ELF header of ld.so */
382 ehdr = (Elf32_Ehdr *)mmap(0, sb.st_size, PROT_READ | PROT_EXEC,
384 if (ehdr == (Elf32_Ehdr *)-1)
/titanic_52/usr/src/uts/common/fs/objfs/
H A Dobjfs_data.c167 (sizeof (Elf32_Ehdr) + (section) * sizeof (Elf32_Shdr))
363 len = sizeof (Elf32_Ehdr); in data_offset()
602 Elf32_Ehdr ehdr; in objfs_data_read()
624 ehdr.e_ehsize = sizeof (Elf32_Ehdr); in objfs_data_read()
/titanic_52/usr/src/cmd/file/
H A Delf_read.h85 #define Elf_Ehdr Elf32_Ehdr
/titanic_52/usr/src/cmd/sgs/prof/common/
H A DsymintHdr.h176 Elf32_Ehdr *pf_elfhd_p; /* elf header */
/titanic_52/usr/src/psm/stand/boot/common/
H A Dreadfile.c50 Elf32_Ehdr Elfhdr;
144 static func_t read_elf32(int, int, Elf32_Ehdr *);
326 read_elf32(int fd, int print, Elf32_Ehdr *elfhdrp) in read_elf32()
1103 Elf32_Ehdr *ehdr = NULL; in iload32()
1129 if ((ehdr = (Elf32_Ehdr *)kmem_alloc(sizeof (Elf32_Ehdr), 0)) == NULL) { in iload32()
1239 kmem_free(ehdr, sizeof (Elf32_Ehdr)); in iload32()
/titanic_52/usr/src/uts/intel/ia32/krtld/
H A Dkobj_isa.c44 elf_mach_ok(Elf32_Ehdr *h) in elf_mach_ok()
/titanic_52/usr/src/lib/libdtrace/common/
H A Ddlink_common.c103 Elf32_Ehdr *elf; in dtrace_link_dof()
/titanic_52/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.h94 extern int mdb_gelf_check(mdb_io_t *, Elf32_Ehdr *, GElf_Half);
/titanic_52/usr/src/lib/libctf/common/
H A Dctf_lib.c343 ehdr_to_gelf(const Elf32_Ehdr *src, GElf_Ehdr *dst) in ehdr_to_gelf()
428 Elf32_Ehdr e32; in ctf_fdcreate_int()
480 if (nbytes >= sizeof (Elf32_Ehdr) && in ctf_fdcreate_int()
502 Elf32_Ehdr e32 = hdr.e32; in ctf_fdcreate_int()
/titanic_52/usr/src/cmd/sgs/elfdump/common/
H A D_elfdump.h230 extern int fake_shdr_cache32(const char *, int, Elf *, Elf32_Ehdr *,
/titanic_52/usr/src/grub/grub-0.97/stage2/
H A Di386-elf.h92 Elf32_Ehdr; typedef

123