/external/elfutils/libelf/ |
D | abstract.h | 56 TYPE_NAME (ElfW2(Bits, Ext##Half), e_type) \ 57 TYPE_NAME (ElfW2(Bits, Ext##Half), e_machine) \ 58 TYPE_NAME (ElfW2(Bits, Ext##Word), e_version) \ 59 TYPE_NAME (ElfW2(Bits, Ext##Addr), e_entry) \ 60 TYPE_NAME (ElfW2(Bits, Ext##Off), e_phoff) \ 61 TYPE_NAME (ElfW2(Bits, Ext##Off), e_shoff) \ 62 TYPE_NAME (ElfW2(Bits, Ext##Word), e_flags) \ 63 TYPE_NAME (ElfW2(Bits, Ext##Half), e_ehsize) \ 64 TYPE_NAME (ElfW2(Bits, Ext##Half), e_phentsize) \ 65 TYPE_NAME (ElfW2(Bits, Ext##Half), e_phnum) \ [all …]
|
D | gelf_xlate.c | 111 INLINE2 (ELFW2(Bits,FSZ_##NAME), ElfW2(Bits,cvt_##Name), ElfW2(Bits,Name)) 157 ElfW2 (Bits, cvt_##Name) (void *dest, const void *src, size_t len, \ 159 { ElfW2(Bits, Name) *tdest = (ElfW2(Bits, Name) *) dest; \ 160 ElfW2(Bits, Name) *tsrc = (ElfW2(Bits, Name) *) src; \ 162 for (n = len / sizeof (ElfW2(Bits, Name)); n > 0; ++tdest, ++tsrc, --n) { 199 [ELF_T_ADDR] = ElfW2(Bits, cvt_Addr), \ 200 [ELF_T_DYN] = ElfW2(Bits, cvt_Dyn), \ 201 [ELF_T_EHDR] = ElfW2(Bits, cvt_Ehdr), \ 202 [ELF_T_HALF] = ElfW2(Bits, cvt_Half), \ 203 [ELF_T_OFF] = ElfW2(Bits, cvt_Off), \ [all …]
|
D | gelf_fsize.c | 76 [ELF_T_EHDR] = sizeof (ElfW2(LIBELFBITS, Ext_Ehdr)), \ 77 [ELF_T_SHDR] = sizeof (ElfW2(LIBELFBITS, Ext_Shdr)), \ 78 [ELF_T_SYM] = sizeof (ElfW2(LIBELFBITS, Ext_Sym)), \ 79 [ELF_T_REL] = sizeof (ElfW2(LIBELFBITS, Ext_Rel)), \ 80 [ELF_T_RELA] = sizeof (ElfW2(LIBELFBITS, Ext_Rela)), \ 81 [ELF_T_PHDR] = sizeof (ElfW2(LIBELFBITS, Ext_Phdr)), \ 82 [ELF_T_DYN] = sizeof (ElfW2(LIBELFBITS, Ext_Dyn)), \ 83 [ELF_T_VDEF] = sizeof (ElfW2(LIBELFBITS, Ext_Verdef)), \ 84 [ELF_T_VDAUX] = sizeof (ElfW2(LIBELFBITS, Ext_Verdaux)), \ 85 [ELF_T_VNEED] = sizeof (ElfW2(LIBELFBITS, Ext_Verneed)), \ [all …]
|
D | elf32_getshdr.c | 69 static ElfW2(LIBELFBITS,Shdr) * in ElfW2() function 72 ElfW2(LIBELFBITS,Shdr) *result; in ElfW2() 76 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr; in ElfW2() 86 size_t size = shnum * sizeof (ElfW2(LIBELFBITS,Shdr)); in ElfW2() 90 ElfW2(LIBELFBITS,Shdr) *shdr = elf->state.ELFW(elf,LIBELFBITS).shdr = in ElfW2() 91 (ElfW2(LIBELFBITS,Shdr) *) malloc (size); in ElfW2() 101 ElfW2(LIBELFBITS,Shdr) *notcvt; in ElfW2() 111 & (__alignof__ (ElfW2(LIBELFBITS,Shdr)) - 1)) != 0)); in ElfW2() 123 & (__alignof__ (ElfW2(LIBELFBITS,Shdr)) - 1)) == 0) in ElfW2() 124 notcvt = (ElfW2(LIBELFBITS,Shdr) *) in ElfW2() [all …]
|
D | elf32_getphdr.c | 69 ElfW2(LIBELFBITS,Phdr) * 73 ElfW2(LIBELFBITS,Phdr) *result; 94 ElfW2(LIBELFBITS,Ehdr) *ehdr = elf->state.ELFW(elf,LIBELFBITS).ehdr; 104 size_t size = phnum * sizeof (ElfW2(LIBELFBITS,Phdr)); 114 & (__alignof__ (ElfW2(LIBELFBITS,Phdr)) - 1)) == 0)) 119 ElfW2(LIBELFBITS,Phdr) *notcvt; 120 ElfW2(LIBELFBITS,Phdr) *phdr; 125 (ElfW2(LIBELFBITS,Phdr) *) malloc (size); 146 & (__alignof__ (ElfW2(LIBELFBITS,Phdr)) - 1)) == 0) 150 notcvt = (ElfW2(LIBELFBITS,Phdr) *) alloca (size); [all …]
|
D | elf32_updatefile.c | 129 ElfW2(LIBELFBITS,Ehdr) *ehdr; in __elfw2() 140 assert (sizeof (ElfW2(LIBELFBITS,Ehdr)) in __elfw2() 156 sizeof (ElfW2(LIBELFBITS,Ehdr)), 1); in __elfw2() 160 sizeof (ElfW2(LIBELFBITS,Ehdr))); in __elfw2() 172 assert (sizeof (ElfW2(LIBELFBITS,Phdr)) in __elfw2() 195 sizeof (ElfW2(LIBELFBITS,Phdr)) * ehdr->e_phnum, 1); in __elfw2() 200 sizeof (ElfW2(LIBELFBITS,Phdr)) * ehdr->e_phnum); in __elfw2() 227 #define shdr_dest ((ElfW2(LIBELFBITS,Shdr) *) shdr_start) in __elfw2() 248 void *p = alloca (sizeof (ElfW2(LIBELFBITS,Shdr))); in __elfw2() 251 sizeof (ElfW2(LIBELFBITS,Shdr))); in __elfw2() [all …]
|
D | elf_getdata.c | 106 [ELF_T_ADDR] = __alignof__ (ElfW2(Bits,Addr)), \ 107 [ELF_T_HALF] = __alignof__ (ElfW2(Bits,Half)), \ 108 [ELF_T_WORD] = __alignof__ (ElfW2(Bits,Word)), \ 109 [ELF_T_SYM] = __alignof__ (ElfW2(Bits,Sym)), \ 110 [ELF_T_SYMINFO] = __alignof__ (ElfW2(Bits,Syminfo)), \ 111 [ELF_T_REL] = __alignof__ (ElfW2(Bits,Rel)), \ 112 [ELF_T_RELA] = __alignof__ (ElfW2(Bits,Rela)), \ 113 [ELF_T_DYN] = __alignof__ (ElfW2(Bits,Dyn)), \ 114 [ELF_T_VDEF] = __alignof__ (ElfW2(Bits,Verdef)), \ 115 [ELF_T_VDAUX] = __alignof__ (ElfW2(Bits,Verdaux)), \ [all …]
|
D | elf32_newphdr.c | 66 ElfW2(LIBELFBITS,Phdr) * 71 ElfW2(LIBELFBITS,Phdr) *result; in ElfW2() function 115 sizeof (ElfW2(LIBELFBITS,Phdr)); 129 result = (ElfW2(LIBELFBITS,Phdr) *) 131 count * sizeof (ElfW2(LIBELFBITS,Phdr))); 139 memset (result, '\0', count * sizeof (ElfW2(LIBELFBITS,Phdr)));
|
D | elf32_getehdr.c | 65 static ElfW2(LIBELFBITS,Ehdr) * 100 ElfW2(LIBELFBITS,Ehdr) * 107 ElfW2(LIBELFBITS,Ehdr) * 111 ElfW2(LIBELFBITS,Ehdr) *result;
|
D | elf32_newehdr.c | 65 ElfW2(LIBELFBITS,Ehdr) * 69 ElfW2(LIBELFBITS,Ehdr) *result; in ElfW2() function 100 sizeof (ElfW2(LIBELFBITS,Ehdr)));
|
D | elf32_updatenull.c | 72 ELFW(default_ehdr,LIBELFBITS) (Elf *elf, ElfW2(LIBELFBITS,Ehdr) *ehdr, in ELFW() 138 ElfW2(LIBELFBITS,Ehdr) *ehdr; in __elfw2() 216 ElfW2(LIBELFBITS,Shdr) *shdr = scn->shdr.ELFW(e,LIBELFBITS); in __elfw2() 220 ElfW2(LIBELFBITS,Word) sh_entsize = shdr->sh_entsize; in __elfw2() 221 ElfW2(LIBELFBITS,Word) sh_align = shdr->sh_addralign ?: 1; in __elfw2() 417 #define SHDR_ALIGN sizeof (ElfW2(LIBELFBITS,Off)) in __elfw2()
|
D | elf32_offscn.c | 69 ElfW2(LIBELFBITS,Off) offset;
|
D | exttypes.h | 74 #define END(Bits, Name) } ElfW2(Bits, Name)
|
D | libelfP.h | 78 #define ElfW2(Bits, Name) ElfW2_(Bits, Name) macro
|