Lines Matching refs:elf
41 elf_clone (Elf *elf, Elf_Cmd cmd) in elf_clone() argument
45 if (elf == NULL) in elf_clone()
50 rwlock_rdlock (elf->lock); in elf_clone()
56 retval = allocate_elf (elf->fildes, elf->map_address, elf->start_offset, in elf_clone()
57 elf->maximum_size, elf->cmd, elf->parent, elf->kind, in elf_clone()
58 elf->state.elf32.scns.max * sizeof (Elf_Scn)); in elf_clone()
65 retval->state.elf.scnincr = 10; in elf_clone()
70 retval->state.elf.scns_last = &retval->state.elf32.scns; in elf_clone()
71 retval->state.elf32.scns.max = elf->state.elf32.scns.max; in elf_clone()
73 retval->class = elf->class; in elf_clone()
78 rwlock_unlock (elf->lock); in elf_clone()