/external/elfutils/0.153/libelf/ |
H A D | elf_clone.c | 79 elf->state.elf32.scns.max * sizeof (Elf_Scn)); 89 assert (offsetof (struct Elf, state.elf32.scns) 90 == offsetof (struct Elf, state.elf64.scns)); 91 retval->state.elf.scns_last = &retval->state.elf32.scns; 92 retval->state.elf32.scns.max = elf->state.elf32.scns.max;
|
H A D | elf_getphdrnum.c | 79 const Elf_ScnList *const scns = (elf->class == ELFCLASS32 local 80 ? &elf->state.elf32.scns 81 : &elf->state.elf64.scns); 86 if (likely (scns->cnt > 0)) 88 ? scns->data[0].shdr.e32->sh_info 89 : scns->data[0].shdr.e64->sh_info);
|
H A D | elf_nextscn.c | 78 || (offsetof (Elf, state.elf32.scns) 79 == offsetof (Elf, state.elf64.scns))) 81 if (elf->state.elf32.scns.cnt > 1) 82 result = &elf->state.elf32.scns.data[1]; 86 if (elf->state.elf64.scns.cnt > 1) 87 result = &elf->state.elf64.scns.data[1];
|
H A D | elf_getscn.c | 82 || (offsetof (struct Elf, state.elf32.scns) 83 == offsetof (struct Elf, state.elf64.scns)) 84 ? &elf->state.elf32.scns : &elf->state.elf64.scns);
|
H A D | elf_getshdrnum.c | 83 || (offsetof (Elf, state.elf32.scns) 84 == offsetof (Elf, state.elf64.scns)) 85 ? &elf->state.elf32.scns : &elf->state.elf64.scns)))
|
H A D | elf_begin.c | 299 assert (offsetof (struct Elf, state.elf32.scns) 300 == offsetof (struct Elf, state.elf64.scns)); 301 elf->state.elf32.scns.cnt = scncnt; 302 elf->state.elf32.scns.max = scnmax; 335 elf->state.elf32.scns.data[cnt].index = cnt; 336 elf->state.elf32.scns.data[cnt].elf = elf; 337 elf->state.elf32.scns.data[cnt].shdr.e32 = 342 elf->state.elf32.scns.data[cnt].rawdata_base = 343 elf->state.elf32.scns.data[cnt].data_base = 346 elf->state.elf32.scns [all...] |
H A D | elf_newscn.c | 80 assert (offsetof (Elf, state.elf32.scns) 81 == offsetof (Elf, state.elf64.scns)); 93 || (offsetof (Elf, state.elf32.scns) 94 == offsetof (Elf, state.elf64.scns)) 95 ? &elf->state.elf32.scns : &elf->state.elf64.scns)))
|
H A D | elf_strptr.c | 83 || (offsetof (struct Elf, state.elf32.scns) 84 == offsetof (struct Elf, state.elf64.scns)) 85 ? &elf->state.elf32.scns : &elf->state.elf64.scns);
|
H A D | elf_end.c | 154 || (offsetof (struct Elf, state.elf32.scns) 155 == offsetof (struct Elf, state.elf64.scns)) 156 ? &elf->state.elf32.scns 157 : &elf->state.elf64.scns); 205 || (offsetof (struct Elf, state.elf32.scns) 206 == offsetof (struct Elf, state.elf64.scns)) 207 ? &elf->state.elf32.scns 208 : &elf->state.elf64.scns))
|
H A D | elf_getshdrstrndx.c | 117 if (elf->state.elf32.scns.data[0].shdr.e32 != NULL) 119 num = elf->state.elf32.scns.data[0].shdr.e32->sh_link; 155 if (elf->state.elf64.scns.data[0].shdr.e64 != NULL) 157 num = elf->state.elf64.scns.data[0].shdr.e64->sh_link;
|
H A D | elf32_newphdr.c | 120 if (elf->state.ELFW(elf,LIBELFBITS).scns.cnt > 0) 121 elf->state.ELFW(elf,LIBELFBITS).scns.data[0] 152 Elf_Scn *scn0 = &elf->state.ELFW(elf,LIBELFBITS).scns.data[0]; 153 if (elf->state.ELFW(elf,LIBELFBITS).scns.cnt == 0) 155 assert (elf->state.ELFW(elf,LIBELFBITS).scns.max > 0); 156 elf->state.ELFW(elf,LIBELFBITS).scns.cnt = 1;
|
H A D | elf32_offscn.c | 80 Elf_ScnList *runp = &elf->state.ELFW(elf,LIBELFBITS).scns;
|
H A D | elf32_updatefile.c | 113 sort_sections (Elf_Scn **scns, Elf_ScnList *list) argument 115 Elf_Scn **scnp = scns; 121 qsort (scns, scnp - scns, sizeof (*scns), compare_sections); 226 Elf_ScnList *list = &elf->state.ELFW(elf,LIBELFBITS).scns; 227 Elf_Scn **scns = (Elf_Scn **) alloca (shnum * sizeof (Elf_Scn *)); local 241 sort_sections (scns, list); 247 Elf_Scn *scn = scns[cnt]; 296 Elf_Scn *scn = scns[cn 666 Elf_Scn **scns = (Elf_Scn **) alloca (shnum * sizeof (Elf_Scn *)); local [all...] |
H A D | elf32_getshdr.c | 154 elf->state.ELFW(elf,LIBELFBITS).scns.data[shdr[cnt].sh_link].shndx_index 159 if (elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shndx_index == 0) 160 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shndx_index 211 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shdr.ELFW(e,LIBELFBITS)
|
H A D | elf32_updatenull.c | 195 assert (elf->state.ELFW(elf,LIBELFBITS).scns.cnt > 0); 201 Elf_Scn *scn0 = &elf->state.ELFW(elf,LIBELFBITS).scns.data[0]; 208 list = &elf->state.ELFW(elf,LIBELFBITS).scns;
|
H A D | libelfP.h | 366 Elf_ScnList scns; member in struct:Elf::__anon21275::__anon21277 390 Elf_ScnList scns; member in struct:Elf::__anon21275::__anon21278
|