HomeSort by relevance Sort by last modified time
    Searched defs:LIBELFBITS (Results 1 - 24 of 24) sorted by null

  /external/elfutils/libelf/
elf64_checksum.c 18 #define LIBELFBITS 64
elf64_fsize.c 18 #define LIBELFBITS 64
elf64_getehdr.c 18 #define LIBELFBITS 64
elf64_getphdr.c 18 #define LIBELFBITS 64
elf64_getshdr.c 18 #define LIBELFBITS 64
elf64_newehdr.c 18 #define LIBELFBITS 64
elf64_newphdr.c 18 #define LIBELFBITS 64
elf64_updatefile.c 17 #define LIBELFBITS 64
elf64_updatenull.c 17 #define LIBELFBITS 64
elf64_xlatetof.c 18 #define LIBELFBITS 64
elf64_xlatetom.c 18 #define LIBELFBITS 64
gelf_xlate.h 20 FUNDAMENTAL (ADDR, Addr, LIBELFBITS);
21 FUNDAMENTAL (OFF, Off, LIBELFBITS);
22 FUNDAMENTAL (HALF, Half, LIBELFBITS);
23 FUNDAMENTAL (WORD, Word, LIBELFBITS);
24 FUNDAMENTAL (SWORD, Sword, LIBELFBITS);
25 FUNDAMENTAL (XWORD, Xword, LIBELFBITS);
26 FUNDAMENTAL (SXWORD, Sxword, LIBELFBITS);
29 TYPE (Ehdr, LIBELFBITS)
30 TYPE (Phdr, LIBELFBITS)
31 TYPE (Shdr, LIBELFBITS)
    [all...]
elf32_getehdr.c 27 #ifndef LIBELFBITS
28 # define LIBELFBITS 32
32 ElfW2(LIBELFBITS,Ehdr) *
33 elfw2(LIBELFBITS,getehdr) (elf)
36 ElfW2(LIBELFBITS,Ehdr) *result;
50 elf->class = ELFW(ELFCLASS,LIBELFBITS);
51 else if (unlikely (elf->class != ELFW(ELFCLASS,LIBELFBITS)))
58 result = elf->state.ELFW(elf,LIBELFBITS).ehdr;
65 INTDEF(elfw2(LIBELFBITS,getehdr))
elf32_newehdr.c 27 #ifndef LIBELFBITS
28 # define LIBELFBITS 32
32 ElfW2(LIBELFBITS,Ehdr) *
33 elfw2(LIBELFBITS,newehdr) (elf)
36 ElfW2(LIBELFBITS,Ehdr) *result;
50 elf->class = ELFW(ELFCLASS,LIBELFBITS);
51 else if (unlikely (elf->class != ELFW(ELFCLASS,LIBELFBITS)))
59 if (elf->state.ELFW(elf,LIBELFBITS).ehdr == NULL)
62 elf->state.ELFW(elf,LIBELFBITS).ehdr =
63 &elf->state.ELFW(elf,LIBELFBITS).ehdr_mem
    [all...]
elf32_newphdr.c 28 #ifndef LIBELFBITS
29 # define LIBELFBITS 32
33 ElfW2(LIBELFBITS,Phdr) *
34 elfw2(LIBELFBITS,newphdr) (elf, count)
38 ElfW2(LIBELFBITS,Phdr) *result;
52 elf->class = ELFW(ELFCLASS,LIBELFBITS);
53 else if (unlikely (elf->class != ELFW(ELFCLASS,LIBELFBITS)))
60 if (unlikely (elf->state.ELFW(elf,LIBELFBITS).ehdr == NULL))
71 if (elf->state.ELFW(elf,LIBELFBITS).phdr != NULL)
73 if (elf->state.ELFW(elf,LIBELFBITS).phdr_flags & ELF_F_MALLOCED
    [all...]
elf32_fsize.c 25 #ifndef LIBELFBITS
26 # define LIBELFBITS 32
31 elfw2(LIBELFBITS, fsize) (type, count, version)
52 * __libelf_type_sizes[version - 1][ELFW(ELFCLASS,LIBELFBITS) - 1][type]);
55 * __libelf_type_sizes[0][ELFW(ELFCLASS,LIBELFBITS) - 1][type]);
59 //local_strong_alias (elfw2(LIBELFBITS, fsize), __elfw2(LIBELFBITS, msize))
elf32_getphdr.c 28 #ifndef LIBELFBITS
29 # define LIBELFBITS 32
33 ElfW2(LIBELFBITS,Phdr) *
34 elfw2(LIBELFBITS,getphdr) (elf)
37 ElfW2(LIBELFBITS,Phdr) *result;
51 result = elf->state.ELFW(elf,LIBELFBITS).phdr;
58 elf->class = ELFW(ELFCLASS,LIBELFBITS);
59 else if (elf->class != ELFW(ELFCLASS,LIBELFBITS))
69 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr
    [all...]
elf32_getshdr.c 28 #ifndef LIBELFBITS
29 # define LIBELFBITS 32
33 ElfW2(LIBELFBITS,Shdr) *
34 elfw2(LIBELFBITS,getshdr) (scn)
37 ElfW2(LIBELFBITS,Shdr) *result;
48 if (unlikely (scn->elf->class != ELFW(ELFCLASS,LIBELFBITS)))
54 result = scn->shdr.ELFW(e,LIBELFBITS);
59 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr;
61 ElfW2(LIBELFBITS,Shdr) *shdr
    [all...]
elf32_xlatetof.c 28 #ifndef LIBELFBITS
29 # define LIBELFBITS 32
34 elfw2(LIBELFBITS, xlatetof) (dest, src, encode)
44 size_t recsize = __libelf_type_sizes[src->d_version - 1][ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_type];
46 size_t recsize = __libelf_type_sizes[0][ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_type];
95 fctp = __elf_xfctstom[dest->d_version - 1][src->d_version - 1][ELFW(ELFCLASS, LIBELFBITS) - 1][src->d_type];
97 fctp = __elf_xfctstom[0][0][ELFW(ELFCLASS, LIBELFBITS) - 1][src->d_type];
111 INTDEF(elfw2(LIBELFBITS, xlatetof))
elf32_xlatetom.c 28 #ifndef LIBELFBITS
29 # define LIBELFBITS 32
34 elfw2(LIBELFBITS, xlatetom) (dest, src, encode)
44 size_t recsize = __libelf_type_sizes[src->d_version - 1][ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_type];
46 size_t recsize = __libelf_type_sizes[0][ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_type];
96 fctp = __elf_xfctstom[src->d_version - 1][dest->d_version - 1][ELFW(ELFCLASS, LIBELFBITS) - 1][src->d_type];
98 fctp = __elf_xfctstom[0][0][ELFW(ELFCLASS, LIBELFBITS) - 1][src->d_type];
112 INTDEF(elfw2(LIBELFBITS, xlatetom))
elf32_checksum.c 31 #ifndef LIBELFBITS
32 # define LIBELFBITS 32
46 elfw2(LIBELFBITS,checksum) (elf)
68 ident = elf->state.ELFW(elf,LIBELFBITS).ehdr->e_ident;
125 if (INTUSE(elfw2(LIBELFBITS,xlatetof)) (data, data, ident[EI_DATA])
132 if (INTUSE(elfw2(LIBELFBITS,xlatetom)) (data, data, ident[EI_DATA])
140 INTDEF(elfw2(LIBELFBITS,checksum))
elf32_updatenull.c 32 #ifndef LIBELFBITS
33 # define LIBELFBITS 32
39 ELFW(default_ehdr,LIBELFBITS) (Elf *elf, ElfW2(LIBELFBITS,Ehdr) *ehdr,
46 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY;
50 update_if_changed (ehdr->e_ident[EI_CLASS], ELFW(ELFCLASS,LIBELFBITS),
51 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags);
58 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY;
73 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags);
85 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags)
    [all...]
gelf_xlate.c 28 #ifndef LIBELFBITS
29 # define LIBELFBITS 32
126 #define LIBELFBITS 32
130 #define LIBELFBITS 64
elf32_updatefile.c 33 #ifndef LIBELFBITS
34 # define LIBELFBITS 32
44 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_offset
45 < (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_offset)
48 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_offset
49 > (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_offset)
84 __elfw2(LIBELFBITS,updatemmap) (Elf *elf, int change_bo, size_t shnum)
86 ElfW2(LIBELFBITS,Ehdr) *ehdr;
91 ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr;
94 if ((elf->state.ELFW(elf,LIBELFBITS).ehdr_flags | elf->flags) & ELF_F_DIRTY
    [all...]

Completed in 107 milliseconds