/external/elfutils/libelf/ |
D | elf32_newphdr.c | 68 elf->class = ELFW(ELFCLASS,LIBELFBITS); in ElfW2() 69 else if (unlikely (elf->class != ELFW(ELFCLASS,LIBELFBITS))) in ElfW2() 76 if (unlikely (elf->state.ELFW(elf,LIBELFBITS).ehdr == NULL)) in ElfW2() 87 if (elf->state.ELFW(elf,LIBELFBITS).phdr != NULL) in ElfW2() 89 if (elf->state.ELFW(elf,LIBELFBITS).phdr_flags & ELF_F_MALLOCED) in ElfW2() 90 free (elf->state.ELFW(elf,LIBELFBITS).phdr); in ElfW2() 93 elf->state.ELFW(elf,LIBELFBITS).phdr = NULL; in ElfW2() 95 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = 0; in ElfW2() 97 if (elf->state.ELFW(elf,LIBELFBITS).scns.cnt > 0) in ElfW2() 98 elf->state.ELFW(elf,LIBELFBITS).scns.data[0] in ElfW2() [all …]
|
D | elf32_updatefile.c | 59 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_offset in compare_sections() 60 < (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_offset) in compare_sections() 63 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_offset in compare_sections() 64 > (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_offset) in compare_sections() 67 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_size in compare_sections() 68 < (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_size) in compare_sections() 71 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_size in compare_sections() 72 > (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_size) in compare_sections() 134 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr; in __elfw2() 137 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_updatenull.c | 51 ELFW(default_ehdr,LIBELFBITS) (Elf *elf, ElfW2(LIBELFBITS,Ehdr) *ehdr, in ELFW() function 58 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; in ELFW() 62 update_if_changed (ehdr->e_ident[EI_CLASS], ELFW(ELFCLASS,LIBELFBITS), 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() [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_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_xlatetof.c | 54 …size_t recsize = __libelf_type_sizes[src->d_version - 1][ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_typ… in elfw2() 56 size_t recsize = __libelf_type_sizes[0][ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_type]; in elfw2() 105 …fctp = __elf_xfctstom[dest->d_version - 1][src->d_version - 1][ELFW(ELFCLASS, LIBELFBITS) - 1][src… in elfw2() 107 fctp = __elf_xfctstom[0][0][ELFW(ELFCLASS, LIBELFBITS) - 1][src->d_type]; in elfw2()
|
D | elf32_xlatetom.c | 54 …size_t recsize = __libelf_type_sizes[src->d_version - 1][ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_typ… in elfw2() 56 size_t recsize = __libelf_type_sizes[0][ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_type]; in elfw2() 110 …fctp = __elf_xfctstom[src->d_version - 1][dest->d_version - 1][ELFW(ELFCLASS, LIBELFBITS) - 1][src… in elfw2() 112 fctp = __elf_xfctstom[0][0][ELFW(ELFCLASS, LIBELFBITS) - 1][src->d_type]; 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_fsize.c | 61 * __libelf_type_sizes[version - 1][ELFW(ELFCLASS,LIBELFBITS) - 1][type]); in elfw2() 64 * __libelf_type_sizes[0][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 | 60 #define ELFW(Name, Bits) ELFW_(Name, Bits) macro 424 (__libelf_type_sizes[EV_CURRENT - 1][ELFW(ELFCLASS,class) - 1][type] * n)
|
/external/libunwind/src/ppc32/ |
D | Make-arch.in | 2 ELFW = 64
|
/external/syslinux/gnu-efi/gnu-efi-3.0/ |
D | ChangeLog | 518 (_relocate): Use ELF32_R_TYPE() instead of ELFW(R_TYPE)(). 526 (_relocate): Use ELF32_R_TYPE() instead of ELFW(R_TYPE)().
|