Lines Matching refs:LIBELFBITS
39 #ifndef LIBELFBITS
40 # define LIBELFBITS 32 macro
44 ElfW2(LIBELFBITS,Ehdr) * in ElfW2() argument
45 elfw2(LIBELFBITS,newehdr) (Elf *elf) in ElfW2()
47 ElfW2(LIBELFBITS,Ehdr) *result; in ElfW2()
61 elf->class = ELFW(ELFCLASS,LIBELFBITS); in ElfW2()
62 else if (unlikely (elf->class != ELFW(ELFCLASS,LIBELFBITS))) in ElfW2()
70 if (elf->state.ELFW(elf,LIBELFBITS).ehdr == NULL) in ElfW2()
73 elf->state.ELFW(elf,LIBELFBITS).ehdr = in ElfW2()
74 &elf->state.ELFW(elf,LIBELFBITS).ehdr_mem; in ElfW2()
77 memset (elf->state.ELFW(elf,LIBELFBITS).ehdr, '\0', in ElfW2()
78 sizeof (ElfW2(LIBELFBITS,Ehdr))); in ElfW2()
81 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; in ElfW2()
84 result = elf->state.ELFW(elf,LIBELFBITS).ehdr; in ElfW2()
91 INTDEF(elfw2(LIBELFBITS,newehdr))