HomeSort by relevance Sort by last modified time
    Searched refs:LIBELFBITS (Results 1 - 25 of 27) sorted by null

1 2

  /external/elfutils/0.153/libelf/
elf64_checksum.c 51 #define LIBELFBITS 64
elf64_fsize.c 51 #define LIBELFBITS 64
elf64_getehdr.c 51 #define LIBELFBITS 64
elf64_getphdr.c 51 #define LIBELFBITS 64
elf64_getshdr.c 51 #define LIBELFBITS 64
elf64_newehdr.c 51 #define LIBELFBITS 64
elf64_newphdr.c 51 #define LIBELFBITS 64
elf64_offscn.c 51 #define LIBELFBITS 64
elf64_updatefile.c 50 #define LIBELFBITS 64
elf64_updatenull.c 50 #define LIBELFBITS 64
elf64_xlatetof.c 51 #define LIBELFBITS 64
elf64_xlatetom.c 51 #define LIBELFBITS 64
gelf_xlate.h 53 FUNDAMENTAL (ADDR, Addr, LIBELFBITS);
54 FUNDAMENTAL (OFF, Off, LIBELFBITS);
55 FUNDAMENTAL (HALF, Half, LIBELFBITS);
56 FUNDAMENTAL (WORD, Word, LIBELFBITS);
57 FUNDAMENTAL (SWORD, Sword, LIBELFBITS);
58 FUNDAMENTAL (XWORD, Xword, LIBELFBITS);
59 FUNDAMENTAL (SXWORD, Sxword, LIBELFBITS);
62 TYPE (Ehdr, LIBELFBITS)
63 TYPE (Phdr, LIBELFBITS)
64 TYPE (Shdr, LIBELFBITS)
    [all...]
gelf_fsize.c 67 #define TYPE_SIZES(LIBELFBITS) \
68 [ELF_T_ADDR] = ELFW2(LIBELFBITS, FSZ_ADDR), \
69 [ELF_T_OFF] = ELFW2(LIBELFBITS, FSZ_OFF), \
71 [ELF_T_HALF] = ELFW2(LIBELFBITS, FSZ_HALF), \
72 [ELF_T_WORD] = ELFW2(LIBELFBITS, FSZ_WORD), \
73 [ELF_T_SWORD] = ELFW2(LIBELFBITS, FSZ_SWORD), \
74 [ELF_T_XWORD] = ELFW2(LIBELFBITS, FSZ_XWORD), \
75 [ELF_T_SXWORD] = ELFW2(LIBELFBITS, FSZ_SXWORD), \
76 [ELF_T_EHDR] = sizeof (ElfW2(LIBELFBITS, Ext_Ehdr)), \
77 [ELF_T_SHDR] = sizeof (ElfW2(LIBELFBITS, Ext_Shdr)),
    [all...]
elf32_newphdr.c 61 #ifndef LIBELFBITS
62 # define LIBELFBITS 32
66 ElfW2(LIBELFBITS,Phdr) *
67 elfw2(LIBELFBITS,newphdr) (elf, count)
71 ElfW2(LIBELFBITS,Phdr) *result;
82 if (unlikely ((ElfW2(LIBELFBITS,Word)) count != count))
91 elf->class = ELFW(ELFCLASS,LIBELFBITS);
92 else if (unlikely (elf->class != ELFW(ELFCLASS,LIBELFBITS)))
99 if (unlikely (elf->state.ELFW(elf,LIBELFBITS).ehdr == NULL))
110 if (elf->state.ELFW(elf,LIBELFBITS).phdr != NULL
    [all...]
elf32_newehdr.c 60 #ifndef LIBELFBITS
61 # define LIBELFBITS 32
65 ElfW2(LIBELFBITS,Ehdr) *
66 elfw2(LIBELFBITS,newehdr) (elf)
69 ElfW2(LIBELFBITS,Ehdr) *result;
83 elf->class = ELFW(ELFCLASS,LIBELFBITS);
84 else if (unlikely (elf->class != ELFW(ELFCLASS,LIBELFBITS)))
92 if (elf->state.ELFW(elf,LIBELFBITS).ehdr == NULL)
95 elf->state.ELFW(elf,LIBELFBITS).ehdr =
96 &elf->state.ELFW(elf,LIBELFBITS).ehdr_mem
    [all...]
elf32_getehdr.c 60 #ifndef LIBELFBITS
61 # define LIBELFBITS 32
65 static ElfW2(LIBELFBITS,Ehdr) *
89 elf->class = ELFW(ELFCLASS,LIBELFBITS);
91 else if (unlikely (elf->class != ELFW(ELFCLASS,LIBELFBITS)))
97 return elf->state.ELFW(elf,LIBELFBITS).ehdr;
100 ElfW2(LIBELFBITS,Ehdr) *
101 __elfw2(LIBELFBITS,getehdr_wrlock) (elf)
107 ElfW2(LIBELFBITS,Ehdr) *
108 elfw2(LIBELFBITS,getehdr) (elf
    [all...]
elf32_fsize.c 58 #ifndef LIBELFBITS
59 # define LIBELFBITS 32
64 elfw2(LIBELFBITS, fsize) (type, count, version)
85 * __libelf_type_sizes[version - 1][ELFW(ELFCLASS,LIBELFBITS) - 1][type]);
88 * __libelf_type_sizes[0][ELFW(ELFCLASS,LIBELFBITS) - 1][type]);
93 local_strong_alias (elfw2(LIBELFBITS, fsize), __elfw2(LIBELFBITS, msize))
elf32_offscn.c 61 #ifndef LIBELFBITS
62 # define LIBELFBITS 32
67 elfw2(LIBELFBITS,offscn) (elf, offset)
69 ElfW2(LIBELFBITS,Off) offset;
80 Elf_ScnList *runp = &elf->state.ELFW(elf,LIBELFBITS).scns;
85 && unlikely (runp->data[0].shdr.ELFW(e,LIBELFBITS) == NULL)
86 && unlikely (elfw2(LIBELFBITS,getshdr) (&runp->data[0]) == NULL))
97 if (runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_offset == offset)
104 if (runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_size != 0)
121 INTDEF(elfw2(LIBELFBITS,offscn)
    [all...]
elf32_getphdr.c 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
    [all...]
elf32_updatenull.c 65 #ifndef LIBELFBITS
66 # define LIBELFBITS 32
72 ELFW(default_ehdr,LIBELFBITS) (Elf *elf, ElfW2(LIBELFBITS,Ehdr) *ehdr,
79 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY;
83 update_if_changed (ehdr->e_ident[EI_CLASS], ELFW(ELFCLASS,LIBELFBITS),
84 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags);
91 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY;
106 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags);
118 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags)
    [all...]
elf32_getshdr.c 64 #ifndef LIBELFBITS
65 # define LIBELFBITS 32
69 static ElfW2(LIBELFBITS,Shdr) *
72 ElfW2(LIBELFBITS,Shdr) *result;
76 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr;
79 result = scn->shdr.ELFW(e,LIBELFBITS);
86 size_t size = shnum * sizeof (ElfW2(LIBELFBITS,Shdr));
90 ElfW2(LIBELFBITS,Shdr) *shdr = elf->state.ELFW(elf,LIBELFBITS).shdr
    [all...]
elf32_xlatetof.c 61 #ifndef LIBELFBITS
62 # define LIBELFBITS 32
67 elfw2(LIBELFBITS, xlatetof) (dest, src, encode)
77 size_t recsize = __libelf_type_sizes[src->d_version - 1][ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_type];
79 size_t recsize = __libelf_type_sizes[0][ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_type];
128 fctp = __elf_xfctstom[dest->d_version - 1][src->d_version - 1][ELFW(ELFCLASS, LIBELFBITS) - 1][src->d_type];
130 fctp = __elf_xfctstom[0][0][ELFW(ELFCLASS, LIBELFBITS) - 1][src->d_type];
144 INTDEF(elfw2(LIBELFBITS, xlatetof))
elf32_xlatetom.c 61 #ifndef LIBELFBITS
62 # define LIBELFBITS 32
67 elfw2(LIBELFBITS, xlatetom) (dest, src, encode)
77 size_t recsize = __libelf_type_sizes[src->d_version - 1][ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_type];
79 size_t recsize = __libelf_type_sizes[0][ELFW(ELFCLASS,LIBELFBITS) - 1][src->d_type];
129 fctp = __elf_xfctstom[src->d_version - 1][dest->d_version - 1][ELFW(ELFCLASS, LIBELFBITS) - 1][src->d_type];
131 fctp = __elf_xfctstom[0][0][ELFW(ELFCLASS, LIBELFBITS) - 1][src->d_type];
145 INTDEF(elfw2(LIBELFBITS, xlatetom))
elf32_updatefile.c 69 #ifndef LIBELFBITS
70 # define LIBELFBITS 32
80 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_offset
81 < (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_offset)
84 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_offset
85 > (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_offset)
88 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_size
89 < (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_size)
92 if ((*scna)->shdr.ELFW(e,LIBELFBITS)->sh_size
93 > (*scnb)->shdr.ELFW(e,LIBELFBITS)->sh_size
    [all...]

Completed in 922 milliseconds

1 2