Home
last modified time | relevance | path

Searched refs:ElfW2 (Results 1 – 13 of 13) sorted by relevance

/external/elfutils/libelf/
Dabstract.h23 TYPE_NAME (ElfW2(Bits, Ext##Half), e_type) \
24 TYPE_NAME (ElfW2(Bits, Ext##Half), e_machine) \
25 TYPE_NAME (ElfW2(Bits, Ext##Word), e_version) \
26 TYPE_NAME (ElfW2(Bits, Ext##Addr), e_entry) \
27 TYPE_NAME (ElfW2(Bits, Ext##Off), e_phoff) \
28 TYPE_NAME (ElfW2(Bits, Ext##Off), e_shoff) \
29 TYPE_NAME (ElfW2(Bits, Ext##Word), e_flags) \
30 TYPE_NAME (ElfW2(Bits, Ext##Half), e_ehsize) \
31 TYPE_NAME (ElfW2(Bits, Ext##Half), e_phentsize) \
32 TYPE_NAME (ElfW2(Bits, Ext##Half), e_phnum) \
[all …]
Dgelf_xlate.c66 INLINE2 (ELFW2(Bits,FSZ_##NAME), ElfW2(Bits,cvt_##Name), ElfW2(Bits,Name))
107 ElfW2 (Bits, cvt_##Name) (void *dest, const void *src, size_t len, \
109 { ElfW2(Bits, Name) *tdest = (ElfW2(Bits, Name) *) dest; \
110 ElfW2(Bits, Name) *tsrc = (ElfW2(Bits, Name) *) src; \
111 size_t n = len / sizeof (ElfW2(Bits, Name)); \
147 [ELF_T_ADDR] = ElfW2(Bits, cvt_Addr), \
148 [ELF_T_DYN] = ElfW2(Bits, cvt_Dyn), \
149 [ELF_T_EHDR] = ElfW2(Bits, cvt_Ehdr), \
150 [ELF_T_HALF] = ElfW2(Bits, cvt_Half), \
151 [ELF_T_OFF] = ElfW2(Bits, cvt_Off), \
[all …]
Dgelf_fsize.c43 [ELF_T_EHDR] = sizeof (ElfW2(LIBELFBITS, Ext_Ehdr)), \
44 [ELF_T_SHDR] = sizeof (ElfW2(LIBELFBITS, Ext_Shdr)), \
45 [ELF_T_SYM] = sizeof (ElfW2(LIBELFBITS, Ext_Sym)), \
46 [ELF_T_REL] = sizeof (ElfW2(LIBELFBITS, Ext_Rel)), \
47 [ELF_T_RELA] = sizeof (ElfW2(LIBELFBITS, Ext_Rela)), \
48 [ELF_T_PHDR] = sizeof (ElfW2(LIBELFBITS, Ext_Phdr)), \
49 [ELF_T_DYN] = sizeof (ElfW2(LIBELFBITS, Ext_Dyn)), \
50 [ELF_T_VDEF] = sizeof (ElfW2(LIBELFBITS, Ext_Verdef)), \
51 [ELF_T_VDAUX] = sizeof (ElfW2(LIBELFBITS, Ext_Verdaux)), \
52 [ELF_T_VNEED] = sizeof (ElfW2(LIBELFBITS, Ext_Verneed)), \
[all …]
Delf_getdata.c65 [SHT_SYMTAB] = { ELF_T_SYM, sizeof (ElfW2(Bits,Sym)) \
66 AL (__alignof__ (ElfW2(Bits,Sym))) }, \
67 [SHT_RELA] = { ELF_T_RELA, sizeof (ElfW2(Bits,Rela)) \
68 AL (__alignof__ (ElfW2(Bits,Rela))) }, \
69 [SHT_HASH] = { ELF_T_WORD, sizeof (ElfW2(Bits,Word)) \
70 AL (__alignof__ (ElfW2(Bits,Word))) }, \
71 [SHT_DYNAMIC] = { ELF_T_DYN, sizeof (ElfW2(Bits,Dyn)) \
72 AL (__alignof__ (ElfW2(Bits,Dyn))) }, \
73 [SHT_REL] = { ELF_T_REL, sizeof (ElfW2(Bits,Rel)) \
74 AL (__alignof__ (ElfW2(Bits,Rel))) }, \
[all …]
Delf32_updatefile.c86 ElfW2(LIBELFBITS,Ehdr) *ehdr; in __elfw2()
98 assert (sizeof (ElfW2(LIBELFBITS,Ehdr)) in __elfw2()
113 sizeof (ElfW2(LIBELFBITS,Ehdr)), 1); in __elfw2()
117 sizeof (ElfW2(LIBELFBITS,Ehdr))); in __elfw2()
129 assert (sizeof (ElfW2(LIBELFBITS,Phdr)) in __elfw2()
151 sizeof (ElfW2(LIBELFBITS,Phdr)) * ehdr->e_phnum, 1); in __elfw2()
156 sizeof (ElfW2(LIBELFBITS,Phdr)) * ehdr->e_phnum); in __elfw2()
171 ElfW2(LIBELFBITS,Shdr) *shdr_dest; in __elfw2()
185 shdr_dest = (ElfW2(LIBELFBITS,Shdr) *) in __elfw2()
196 ElfW2(LIBELFBITS,Shdr) *shdr; in __elfw2()
[all …]
Delf32_getphdr.c33 ElfW2(LIBELFBITS,Phdr) *
37 ElfW2(LIBELFBITS,Phdr) *result; in ElfW2() function
69 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr;
81 size = phnum * sizeof (ElfW2(LIBELFBITS,Phdr));
89 & (__alignof__ (ElfW2(LIBELFBITS,Phdr)) - 1)) == 0))
91 elf->state.ELFW(elf,LIBELFBITS).phdr = (ElfW2(LIBELFBITS,Phdr) *)
96 ElfW2(LIBELFBITS,Phdr) *notcvt;
97 ElfW2(LIBELFBITS,Phdr) *phdr;
102 (ElfW2(LIBELFBITS,Phdr) *) malloc (size);
115 & (__alignof__ (ElfW2(LIBELFBITS,Phdr)) - 1)) == 0)
[all …]
Delf32_getshdr.c33 ElfW2(LIBELFBITS,Shdr) *
37 ElfW2(LIBELFBITS,Shdr) *result; in ElfW2() function
59 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr;
61 ElfW2(LIBELFBITS,Shdr) *shdr;
74 size = shnum * sizeof (ElfW2(LIBELFBITS,Shdr));
79 (ElfW2(LIBELFBITS,Shdr) *) malloc (size);
89 ElfW2(LIBELFBITS,Shdr) *notcvt;
96 & (__alignof__ (ElfW2(LIBELFBITS,Shdr)) - 1)) != 0));
102 & (__alignof__ (ElfW2(LIBELFBITS,Shdr)) - 1)) == 0)
103 notcvt = (ElfW2(LIBELFBITS,Shdr) *)
[all …]
Delf32_newphdr.c33 ElfW2(LIBELFBITS,Phdr) *
38 ElfW2(LIBELFBITS,Phdr) *result; in ElfW2() function
82 sizeof (ElfW2(LIBELFBITS,Phdr));
96 result = (ElfW2(LIBELFBITS,Phdr) *)
98 count * sizeof (ElfW2(LIBELFBITS,Phdr)));
106 memset (result, '\0', count * sizeof (ElfW2(LIBELFBITS,Phdr)));
Delf32_newehdr.c32 ElfW2(LIBELFBITS,Ehdr) *
36 ElfW2(LIBELFBITS,Ehdr) *result; in ElfW2() function
67 sizeof (ElfW2(LIBELFBITS,Ehdr)));
Delf32_updatenull.c39 ELFW(default_ehdr,LIBELFBITS) (Elf *elf, ElfW2(LIBELFBITS,Ehdr) *ehdr, in ELFW()
105 ElfW2(LIBELFBITS,Ehdr) *ehdr = INTUSE(elfw2(LIBELFBITS,getehdr)) (elf); in __elfw2()
174 ElfW2(LIBELFBITS,Shdr) *shdr = scn->shdr.ELFW(e,LIBELFBITS); in __elfw2()
176 ElfW2(LIBELFBITS,Word) sh_entsize; in __elfw2()
177 ElfW2(LIBELFBITS,Word) sh_align; in __elfw2()
354 #define SHDR_ALIGN sizeof (ElfW2(LIBELFBITS,Off)) in __elfw2()
Delf32_getehdr.c32 ElfW2(LIBELFBITS,Ehdr) *
36 ElfW2(LIBELFBITS,Ehdr) *result; in ElfW2() function
Dexttypes.h41 #define END(Bits, Name) } ElfW2(Bits, Name)
DlibelfP.h37 #define ElfW2(Bits, Name) ElfW2_(Bits, Name) macro