Lines Matching refs:elf

51 ELFW(default_ehdr,LIBELFBITS) (Elf *elf, ElfW2(LIBELFBITS,Ehdr) *ehdr,  in ELFW()
58 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; in ELFW()
63 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags); in ELFW()
70 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; in ELFW()
85 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags); in ELFW()
90 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; in ELFW()
101 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags); in ELFW()
105 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags); in ELFW()
110 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; in ELFW()
118 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; in ELFW()
127 __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int *change_bop, size_t shnum) in __elfw2()
133 ehdr = __elfw2(LIBELFBITS,getehdr_wrlock) (elf); in __elfw2()
136 if (ELFW(default_ehdr,LIBELFBITS) (elf, ehdr, shnum, change_bop) != 0) in __elfw2()
143 if (elf->state.ELFW(elf,LIBELFBITS).phdr == NULL in __elfw2()
146 (void) __elfw2(LIBELFBITS,getphdr_wrlock) (elf); in __elfw2()
147 if (elf->state.ELFW(elf,LIBELFBITS).phdr != NULL) in __elfw2()
159 if (unlikely (__elf_getphdrnum_rdlock (elf, &phnum) != 0)) in __elfw2()
162 if (elf->flags & ELF_F_LAYOUT) in __elfw2()
186 assert (elf->state.ELFW(elf,LIBELFBITS).scns.cnt > 0); in __elfw2()
192 Elf_Scn *scn0 = &elf->state.ELFW(elf,LIBELFBITS).scns.data[0]; in __elfw2()
199 list = &elf->state.ELFW(elf,LIBELFBITS).scns; in __elfw2()
302 if (elf->flags & ELF_F_LAYOUT) in __elfw2()
335 if (elf->flags & ELF_F_LAYOUT) in __elfw2()
386 && (elf->flags & ELF_F_PERMISSIVE) == 0) in __elfw2()
418 if (elf->flags & ELF_F_LAYOUT) in __elfw2()
437 update_if_changed (ehdr->e_shoff, (GElf_Word) size, elf->flags); in __elfw2()
444 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ehdr_flags; in __elfw2()