Lines Matching defs:LIBELFBITS
65 #ifndef LIBELFBITS
66 # define LIBELFBITS 32
69 ElfW2(LIBELFBITS,Phdr) *
70 __elfw2(LIBELFBITS,getphdr_wrlock) (elf)
73 ElfW2(LIBELFBITS,Phdr) *result;
78 result = elf->state.ELFW(elf,LIBELFBITS).phdr;
83 elf->class = ELFW(ELFCLASS,LIBELFBITS);
84 else if (elf->class != ELFW(ELFCLASS,LIBELFBITS))
94 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr;
106 size_t size = phnum * sizeof (ElfW2(LIBELFBITS,Phdr));
123 & (__alignof__ (ElfW2(LIBELFBITS,Phdr)) - 1)) == 0))
125 elf->state.ELFW(elf,LIBELFBITS).phdr = file_phdr;
128 ElfW2(LIBELFBITS,Phdr) *notcvt;
129 ElfW2(LIBELFBITS,Phdr) *phdr;
133 phdr = elf->state.ELFW(elf,LIBELFBITS).phdr =
134 (ElfW2(LIBELFBITS,Phdr) *) malloc (size);
135 if (elf->state.ELFW(elf,LIBELFBITS).phdr == NULL)
140 elf->state.ELFW(elf,LIBELFBITS).phdr_flags |=
155 & (__alignof__ (ElfW2(LIBELFBITS,Phdr)) - 1)) == 0)
159 notcvt = (ElfW2(LIBELFBITS,Phdr) *) alloca (size);
181 elf->state.ELFW(elf,LIBELFBITS).phdr =
182 (ElfW2(LIBELFBITS,Phdr) *) malloc (size);
183 if (elf->state.ELFW(elf,LIBELFBITS).phdr == NULL)
188 elf->state.ELFW(elf,LIBELFBITS).phdr_flags |= ELF_F_MALLOCED;
192 elf->state.ELFW(elf,LIBELFBITS).phdr, size,
198 free (elf->state.ELFW(elf,LIBELFBITS).phdr);
199 elf->state.ELFW(elf,LIBELFBITS).phdr = NULL;
207 ElfW2(LIBELFBITS,Phdr) *phdr
208 = elf->state.ELFW(elf,LIBELFBITS).phdr;
231 result = elf->state.ELFW(elf,LIBELFBITS).phdr;
238 ElfW2(LIBELFBITS,Phdr) *
239 elfw2(LIBELFBITS,getphdr) (elf)
242 ElfW2(LIBELFBITS,Phdr) *result;
256 result = elf->state.ELFW(elf,LIBELFBITS).phdr;
261 result = __elfw2(LIBELFBITS,getphdr_wrlock) (elf);
266 INTDEF(elfw2(LIBELFBITS,getphdr))