Home
last modified time | relevance | path

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

/external/elfutils/libelf/
Delf_nextscn.c45 || (offsetof (Elf, state.elf32.scns)
46 == offsetof (Elf, state.elf64.scns)))
48 if (elf->state.elf32.scns.cnt > 1)
49 result = &elf->state.elf32.scns.data[1];
53 if (elf->state.elf64.scns.cnt > 1)
54 result = &elf->state.elf64.scns.data[1];
Delf_clone.c46 elf->state.elf32.scns.max * sizeof (Elf_Scn)); in elf_clone()
56 assert (offsetof (struct Elf, state.elf32.scns) in elf_clone()
57 == offsetof (struct Elf, state.elf64.scns)); in elf_clone()
58 retval->state.elf.scns_last = &retval->state.elf32.scns; in elf_clone()
59 retval->state.elf32.scns.max = elf->state.elf32.scns.max; in elf_clone()
Delf_begin.c245 elf->state.elf32.scns.cnt = elf->state.elf32.scns.max = scncnt; in file_read_elf()
271 elf->state.elf32.scns.data[cnt].index = cnt; in file_read_elf()
272 elf->state.elf32.scns.data[cnt].elf = elf; in file_read_elf()
273 elf->state.elf32.scns.data[cnt].shdr.e32 = in file_read_elf()
275 elf->state.elf32.scns.data[cnt].rawdata_base = in file_read_elf()
276 elf->state.elf32.scns.data[cnt].data_base = in file_read_elf()
279 elf->state.elf32.scns.data[cnt].list = &elf->state.elf32.scns; in file_read_elf()
314 elf->state.elf32.scns.data[cnt].index = cnt; in file_read_elf()
315 elf->state.elf32.scns.data[cnt].elf = elf; in file_read_elf()
316 elf->state.elf32.scns.data[cnt].list = &elf->state.elf32.scns; in file_read_elf()
[all …]
Delf_end.c105 || (offsetof (struct Elf, state.elf32.scns)
106 == offsetof (struct Elf, state.elf64.scns))
107 ? &elf->state.elf32.scns
108 : &elf->state.elf64.scns);
156 || (offsetof (struct Elf, state.elf32.scns)
157 == offsetof (struct Elf, state.elf64.scns))
158 ? &elf->state.elf32.scns
159 : &elf->state.elf64.scns))
Delf_newscn.c47 assert (offsetof (Elf, state.elf32.scns)
48 == offsetof (Elf, state.elf64.scns));
60 || (offsetof (Elf, state.elf32.scns)
61 == offsetof (Elf, state.elf64.scns))
62 ? &elf->state.elf32.scns : &elf->state.elf64.scns)))
Delf_getshnum.c52 || (offsetof (Elf, state.elf32.scns)
53 == offsetof (Elf, state.elf64.scns))
54 ? &elf->state.elf32.scns : &elf->state.elf64.scns)))
Delf_getscn.c49 || (offsetof (struct Elf, state.elf32.scns)
50 == offsetof (struct Elf, state.elf64.scns))
51 ? &elf->state.elf32.scns : &elf->state.elf64.scns);
Delf_strptr.c50 || (offsetof (struct Elf, state.elf32.scns)
51 == offsetof (struct Elf, state.elf64.scns))
52 ? &elf->state.elf32.scns : &elf->state.elf64.scns);
Delf32_updatefile.c66 sort_sections (Elf_Scn **scns, Elf_ScnList *list) in sort_sections() argument
68 Elf_Scn **scnp = scns; in sort_sections()
78 qsort (scns, scnp - scns, sizeof (*scns), compare_sections); in sort_sections()
172 Elf_ScnList *list = &elf->state.ELFW(elf,LIBELFBITS).scns; in __elfw2()
173 Elf_Scn **scns = (Elf_Scn **) alloca (shnum * sizeof (Elf_Scn *)); in __elfw2() local
189 sort_sections (scns, list); in __elfw2()
195 Elf_Scn *scn = scns[cnt]; in __elfw2()
478 Elf_ScnList *list = &elf->state.ELFW(elf,LIBELFBITS).scns; in __elfw2()
480 Elf_Scn **scns = (Elf_Scn **) alloca (shnum * sizeof (Elf_Scn *)); in __elfw2() local
500 sort_sections (scns, list); in __elfw2()
[all …]
Delf_getshstrndx.c82 if (elf->state.elf32.scns.data[0].shdr.e32 != NULL)
84 num = elf->state.elf32.scns.data[0].shdr.e32->sh_link;
121 if (elf->state.elf64.scns.data[0].shdr.e64 != NULL)
123 num = elf->state.elf64.scns.data[0].shdr.e64->sh_link;
Delf32_updatenull.c151 assert (elf->state.ELFW(elf,LIBELFBITS).scns.cnt > 0); in __elfw2()
157 elf->state.ELFW(elf,LIBELFBITS).scns.data[0].shdr.ELFW(e,LIBELFBITS)->sh_size in __elfw2()
159 elf->state.ELFW(elf,LIBELFBITS).scns.data[0].shdr_flags in __elfw2()
165 list = &elf->state.ELFW(elf,LIBELFBITS).scns; in __elfw2()
DlibelfP.h310 Elf_ScnList scns; member
334 Elf_ScnList scns; member
Delf32_getshdr.c173 elf->state.ELFW(elf,LIBELFBITS).scns.data[cnt].shdr.ELFW(e,LIBELFBITS)