Searched refs:scns (Results 1 – 14 of 14) sorted by relevance
/external/elfutils/libelf/ |
D | elf_begin.c | 307 elf->state.elf32.scns.cnt = elf->state.elf32.scns.max = scncnt; in file_read_elf() 330 elf->state.elf32.scns.data[cnt].index = cnt; in file_read_elf() 331 elf->state.elf32.scns.data[cnt].elf = elf; in file_read_elf() 332 elf->state.elf32.scns.data[cnt].shdr.e32 = in file_read_elf() 334 elf->state.elf32.scns.data[cnt].rawdata_base = in file_read_elf() 335 elf->state.elf32.scns.data[cnt].data_base = in file_read_elf() 338 elf->state.elf32.scns.data[cnt].list = &elf->state.elf32.scns; in file_read_elf() 345 elf->state.elf32.scns.data[elf->state.elf32.shdr[cnt].sh_link].shndx_index in file_read_elf() 350 if (elf->state.elf32.scns.data[cnt].shndx_index == 0) in file_read_elf() 351 elf->state.elf32.scns.data[cnt].shndx_index = -1; in file_read_elf() [all …]
|
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];
|
D | elf_clone.c | 79 elf->state.elf32.scns.max * sizeof (Elf_Scn)); in elf_clone() 89 assert (offsetof (struct Elf, state.elf32.scns) in elf_clone() 90 == offsetof (struct Elf, state.elf64.scns)); in elf_clone() 91 retval->state.elf.scns_last = &retval->state.elf32.scns; in elf_clone() 92 retval->state.elf32.scns.max = elf->state.elf32.scns.max; in elf_clone()
|
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))
|
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)))
|
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);
|
D | elf_getshnum.c | 83 || (offsetof (Elf, state.elf32.scns) 84 == offsetof (Elf, state.elf64.scns)) 85 ? &elf->state.elf32.scns : &elf->state.elf64.scns)))
|
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);
|
D | elf32_updatefile.c | 113 sort_sections (Elf_Scn **scns, Elf_ScnList *list) in sort_sections() argument 115 Elf_Scn **scnp = scns; in sort_sections() 121 qsort (scns, scnp - scns, sizeof (*scns), compare_sections); in sort_sections() 215 Elf_ScnList *list = &elf->state.ELFW(elf,LIBELFBITS).scns; in __elfw2() 216 Elf_Scn **scns = (Elf_Scn **) alloca (shnum * sizeof (Elf_Scn *)); in __elfw2() local 230 sort_sections (scns, list); in __elfw2() 236 Elf_Scn *scn = scns[cnt]; in __elfw2() 285 Elf_Scn *scn = scns[cnt]; in __elfw2() 384 Elf_Scn *scn = scns[cnt]; in __elfw2() 612 Elf_ScnList *list = &elf->state.ELFW(elf,LIBELFBITS).scns; in __elfw2() [all …]
|
D | elf_getshstrndx.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;
|
D | elf32_getshdr.c | 154 elf->state.ELFW(elf,LIBELFBITS).scns.data[shdr[cnt].sh_link].shndx_index in ElfW2() 159 if (elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shndx_index == 0) in ElfW2() 160 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shndx_index in ElfW2() 211 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shdr.ELFW(e,LIBELFBITS) in ElfW2()
|
D | elf32_updatenull.c | 191 assert (elf->state.ELFW(elf,LIBELFBITS).scns.cnt > 0); in __elfw2() 197 Elf_Scn *scn0 = &elf->state.ELFW(elf,LIBELFBITS).scns.data[0]; in __elfw2() 204 list = &elf->state.ELFW(elf,LIBELFBITS).scns; in __elfw2()
|
D | elf32_offscn.c | 80 Elf_ScnList *runp = &elf->state.ELFW(elf,LIBELFBITS).scns;
|
D | libelfP.h | 369 Elf_ScnList scns; member 394 Elf_ScnList scns; member
|