Home | History | Annotate | Download | only in libelf

Lines Matching refs:elf

1 /* Update ELF header.
41 gelf_update_ehdr (Elf *elf, GElf_Ehdr *src)
45 if (elf == NULL)
48 if (unlikely (elf->kind != ELF_K_ELF))
54 rwlock_wrlock (elf->lock);
56 if (elf->class == ELFCLASS32)
58 Elf32_Ehdr *ehdr = elf->state.elf32.ehdr;
97 Elf64_Ehdr *ehdr = elf->state.elf64.ehdr;
109 /* Mark the ELF header as modified. */
110 elf->state.elf.ehdr_flags |= ELF_F_DIRTY;
115 rwlock_unlock (elf->lock);