/external/elfutils/libelf/ |
D | elf32_newphdr.c | 71 elf->class = ELFW(ELFCLASS,LIBELFBITS); in ElfW2() 72 else if (unlikely (elf->class != ELFW(ELFCLASS,LIBELFBITS))) in ElfW2() 79 if (unlikely (elf->state.ELFW(elf,LIBELFBITS).ehdr == NULL)) in ElfW2() 90 if (elf->state.ELFW(elf,LIBELFBITS).phdr != NULL) in ElfW2() 92 if (elf->state.ELFW(elf,LIBELFBITS).phdr_flags & ELF_F_MALLOCED) in ElfW2() 93 free (elf->state.ELFW(elf,LIBELFBITS).phdr); in ElfW2() 96 elf->state.ELFW(elf,LIBELFBITS).phdr = NULL; in ElfW2() 98 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = 0; in ElfW2() 100 if (elf->state.ELFW(elf,LIBELFBITS).scns.cnt > 0) in ElfW2() 101 elf->state.ELFW(elf,LIBELFBITS).scns.data[0] in ElfW2() [all …]
|
D | elf32_updatefile.c | 58 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_offset in compare_sections() 59 < (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_offset) in compare_sections() 62 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_offset in compare_sections() 63 > (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_offset) in compare_sections() 66 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_size in compare_sections() 67 < (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_size) in compare_sections() 70 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_size in compare_sections() 71 > (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_size) in compare_sections() 133 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr; in __elfw2() 136 if ((elf->state.ELFW(elf,LIBELFBITS).ehdr_flags | elf->flags) & ELF_F_DIRTY) in __elfw2() [all …]
|
D | elf32_getphdr.c | 56 result = elf->state.ELFW(elf,LIBELFBITS).phdr; in ElfW2() 61 elf->class = ELFW(ELFCLASS,LIBELFBITS); in ElfW2() 62 else if (elf->class != ELFW(ELFCLASS,LIBELFBITS)) in ElfW2() 72 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr; in ElfW2() 115 elf->state.ELFW(elf,LIBELFBITS).phdr = file_phdr; in ElfW2() 123 phdr = elf->state.ELFW(elf,LIBELFBITS).phdr = in ElfW2() 125 if (elf->state.ELFW(elf,LIBELFBITS).phdr == NULL) in ElfW2() 130 elf->state.ELFW(elf,LIBELFBITS).phdr_flags |= in ElfW2() 181 elf->state.ELFW(elf,LIBELFBITS).phdr = in ElfW2() 183 if (elf->state.ELFW(elf,LIBELFBITS).phdr == NULL) in ElfW2() [all …]
|
D | elf32_getshdr.c | 55 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr; in ElfW2() 58 result = scn->shdr.ELFW(e,LIBELFBITS); in ElfW2() 70 ElfW2(LIBELFBITS,Shdr) *shdr = elf->state.ELFW(elf,LIBELFBITS).shdr = in ElfW2() 72 if (elf->state.ELFW(elf,LIBELFBITS).shdr == NULL) in ElfW2() 77 elf->state.ELFW(elf,LIBELFBITS).shdr_malloced = 1; in ElfW2() 157 elf->state.ELFW(elf,LIBELFBITS).scns.data[shdr[cnt].sh_link].shndx_index in ElfW2() 162 if (elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shndx_index == 0) in ElfW2() 163 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shndx_index in ElfW2() 175 elf->state.ELFW(elf,LIBELFBITS).shdr, size, in ElfW2() 209 elf->state.ELFW(elf,LIBELFBITS).shdr = NULL; in ElfW2() [all …]
|
D | elf32_newehdr.c | 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() 81 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; in ElfW2() 84 result = elf->state.ELFW(elf,LIBELFBITS).ehdr; in ElfW2()
|
D | elf32_updatenull.c | 55 ELFW(default_ehdr,LIBELFBITS) (Elf *elf, ElfW2(LIBELFBITS,Ehdr) *ehdr, in ELFW() function 62 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; in ELFW() 66 update_if_changed (ehdr->e_ident[EI_CLASS], ELFW(ELFCLASS,LIBELFBITS), in ELFW() 67 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags); in ELFW() 74 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; in ELFW() 89 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags); in ELFW() 94 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; in ELFW() 105 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags); in ELFW() 109 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags); in ELFW() 114 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; in ELFW() [all …]
|
D | elf32_offscn.c | 57 Elf_ScnList *runp = &elf->state.ELFW(elf,LIBELFBITS).scns; in elfw2() 62 && unlikely (runp->data[0].shdr.ELFW(e,LIBELFBITS) == NULL) in elfw2() 74 if (runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_offset == offset) in elfw2() 81 if (runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_size != 0 in elfw2() 82 && runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_type != SHT_NOBITS) in elfw2()
|
D | elf32_getehdr.c | 66 elf->class = ELFW(ELFCLASS,LIBELFBITS); in ElfW2() 68 else if (unlikely (elf->class != ELFW(ELFCLASS,LIBELFBITS))) in ElfW2() 74 return elf->state.ELFW(elf,LIBELFBITS).ehdr; in ElfW2()
|
D | elf32_xlatetom.c | 53 size_t recsize = __libelf_type_sizes[ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_type]; in elfw2() 101 fctp = __elf_xfctstom[ELFW(ELFCLASS, LIBELFBITS) - 1][src->d_type]; in elfw2()
|
D | elf32_xlatetof.c | 53 size_t recsize = __libelf_type_sizes[ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_type]; in elfw2() 96 fctp = __elf_xfctstom[ELFW(ELFCLASS, LIBELFBITS) - 1][src->d_type]; in elfw2()
|
D | elf32_fsize.c | 59 return (count * __libelf_type_sizes[ELFW(ELFCLASS,LIBELFBITS) - 1][type]); in elfw2()
|
D | elf32_checksum.c | 75 ident = elf->state.ELFW(elf,LIBELFBITS).ehdr->e_ident; in elfw2()
|
D | libelfP.h | 56 #define ELFW(Name, Bits) ELFW_(Name, Bits) macro 424 (__libelf_type_sizes[ELFW(ELFCLASS,class) - 1][type] * n)
|
/external/libunwind/src/ppc32/ |
D | Make-arch.in | 2 ELFW = 64
|