Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dgetehdr.c57 Elf32_Ehdr *
60 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 Dnewscn.c78 ((Elf32_Ehdr *)elf->ed_ehdr)->e_shnum in elf_newscn()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/head/
H A Dlibelf.h176 Elf32_Ehdr *elf32_getehdr(Elf *);
194 Elf32_Ehdr *elf32_newehdr(Elf *);
/illumos-gate/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.h105 Elf32_Ehdr *ehdr; /* 32 bit elf header for current file */
/illumos-gate/usr/src/tools/btxld/
H A Delfh.h38 Elf32_Ehdr e; /* ELF header */
/illumos-gate/usr/src/lib/libproc/common/
H A DPsymtab_machelf.h35 uintptr_t addr, Elf32_Ehdr *ehdr, uint_t phnum, Elf32_Phdr *phdr);
/illumos-gate/usr/src/uts/common/sys/
H A Dexec.h247 extern int mapexec32_brand(vnode_t *, uarg_t *, Elf32_Ehdr *, Elf32_Addr *,
249 extern int elf32readhdr(vnode_t *, cred_t *, Elf32_Ehdr *, uint_t *, caddr_t *,
H A Dmachelf.h123 typedef Elf32_Ehdr Ehdr;
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Dwho.h40 #define Elf_Ehdr Elf32_Ehdr
/illumos-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_data.c165 (sizeof (Elf32_Ehdr) + (section) * sizeof (Elf32_Shdr))
361 len = sizeof (Elf32_Ehdr); in data_offset()
600 Elf32_Ehdr ehdr; in objfs_data_read()
622 ehdr.e_ehsize = sizeof (Elf32_Ehdr); in objfs_data_read()
/illumos-gate/usr/src/psm/stand/boot/common/
H A Dreadfile.c46 Elf32_Ehdr Elfhdr;
127 static func_t read_elf32(int, int, Elf32_Ehdr *);
254 read_elf32(int fd, int print, Elf32_Ehdr *elfhdrp) in read_elf32()
979 Elf32_Ehdr *ehdr = NULL; in iload32()
1005 if ((ehdr = (Elf32_Ehdr *)kmem_alloc(sizeof (Elf32_Ehdr), 0)) == NULL) { in iload32()
1111 kmem_free(ehdr, sizeof (Elf32_Ehdr)); in iload32()
/illumos-gate/usr/src/cmd/file/
H A Delf_read.h89 #define Elf_Ehdr Elf32_Ehdr
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddlink_common.c103 Elf32_Ehdr *elf; in dtrace_link_dof()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.h92 extern int mdb_gelf_check(mdb_io_t *, Elf32_Ehdr *, GElf_Half);
/illumos-gate/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()
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A D_elfdump.h230 extern int fake_shdr_cache32(const char *, int, Elf *, Elf32_Ehdr *,
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Di386-elf.h92 Elf32_Ehdr; typedef
H A Dboot.c53 Elf32_Ehdr *elf; in load_image()
103 && len > sizeof (Elf32_Ehdr) in load_image()
104 && BOOTABLE_I386_ELF ((*((Elf32_Ehdr *) buffer)))) in load_image()
/illumos-gate/usr/src/boot/sys/sys/
H A Delf32.h70 } Elf32_Ehdr; typedef

12