Lines Matching full:data
64 # define xelf_getsym(data, idx, name) \
65 name = &((Elf32_Sym *) (data)->d_buf)[idx]
66 # define xelf_getsym_ptr(data, idx, name) \
67 name = &((Elf32_Sym *) (data)->d_buf)[idx]
68 # define xelf_getsymshndx(data, ndxdata, idx, name1, name2) \
69 (name1 = &((Elf32_Sym *) ((data)->d_buf))[idx]); \
72 # define xelf_update_sym(data, idx, sym) \
73 /* nothing */ ((void) (data), (void) (idx), (void) (sym), 1)
74 # define xelf_update_symshndx(data, ndxdata, idx, name1, name2, datachanged) \
76 ((Elf32_Sym *) ((data)->d_buf))[idx] = *name1; \
81 # define xelf_getversym_copy(data, idx, name) \
82 (name = ((Elf32_Versym *) ((data)->d_buf))[idx], &name)
85 # define xelf_getdyn(data, idx, name) \
86 name = &((Elf32_Dyn *) ((data)->d_buf))[idx]
87 # define xelf_getdyn_ptr(data, idx, name) \
88 name = &((Elf32_Dyn *) ((data)->d_buf))[idx]
89 # define xelf_update_dyn(data, idx, name) \
90 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
93 # define xelf_getrel(data, idx, name) \
94 name = &((Elf32_Rel *) ((data)->d_buf))[idx]
95 # define xelf_getrel_ptr(data, idx, name) \
96 name = &((Elf32_Rel *) ((data)->d_buf))[idx]
97 # define xelf_update_rel(data, idx, name) \
98 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
101 # define xelf_getrela(data, idx, name) \
102 name = &((Elf32_Rela *) ((data)->d_buf))[idx]
103 # define xelf_getrela_ptr(data, idx, name) \
104 name = &((Elf32_Rela *) ((data)->d_buf))[idx]
105 # define xelf_update_rela(data, idx, name) \
106 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
109 # define xelf_getverdef(data, offset, name) \
110 name = ((Elf32_Verdef *) ((char *) ((data)->d_buf) + (offset)))
113 # define xelf_getverdaux(data, offset, name) \
114 name = ((Elf32_Verdaux *) ((char *) ((data)->d_buf) + (offset)))
196 # define xelf_getsym(data, idx, name) \
197 name = &((Elf64_Sym *) (data)->d_buf)[idx]
198 # define xelf_getsym_ptr(data, idx, name) \
199 name = &((Elf64_Sym *) (data)->d_buf)[idx]
200 # define xelf_getsymshndx(data, ndxdata, idx, name1, name2) \
201 (name1 = &((Elf64_Sym *) ((data)->d_buf))[idx]); \
204 # define xelf_update_sym(data, idx, sym) \
205 /* nothing */ ((void) (data), (void) (idx), (void) (sym), 1)
206 # define xelf_update_symshndx(data, ndxdata, idx, name1, name2, datachanged) \
208 ((Elf64_Sym *) ((data)->d_buf))[idx] = *name1; \
213 # define xelf_getversym_copy(data, idx, name) \
214 (name = ((Elf64_Versym *) ((data)->d_buf))[idx], (&name))
217 # define xelf_getdyn(data, idx, name) \
218 name = &((Elf64_Dyn *) ((data)->d_buf))[idx]
219 # define xelf_getdyn_ptr(data, idx, name) \
220 name = &((Elf64_Dyn *) ((data)->d_buf))[idx]
221 # define xelf_update_dyn(data, idx, name) \
222 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
225 # define xelf_getrel(data, idx, name) \
226 name = &((Elf64_Rel *) ((data)->d_buf))[idx]
227 # define xelf_getrel_ptr(data, idx, name) \
228 name = &((Elf64_Rel *) ((data)->d_buf))[idx]
229 # define xelf_update_rel(data, idx, name) \
230 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
233 # define xelf_getrela(data, idx, name) \
234 name = &((Elf64_Rela *) ((data)->d_buf))[idx]
235 # define xelf_getrela_ptr(data, idx, name) \
236 name = &((Elf64_Rela *) ((data)->d_buf))[idx]
237 # define xelf_update_rela(data, idx, name) \
238 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
241 # define xelf_getverdef(data, offset, name) \
242 name = ((Elf64_Verdef *) ((char *) ((data)->d_buf) + (offset)))
245 # define xelf_getverdaux(data, offset, name) \
246 name = ((Elf64_Verdaux *) ((char *) ((data)->d_buf) + (offset)))
330 # define xelf_getsym(data, idx, name) \
331 name = gelf_getsym (data, idx, &name##_mem)
332 # define xelf_getsym_ptr(data, idx, name) \
334 # define xelf_getsymshndx(data, ndxdata, idx, name1, name2) \
335 name1 = gelf_getsymshndx (data, ndxdata, idx, &name1##_mem, &(name2))
336 # define xelf_update_sym(data, idx, sym) gelf_update_sym (data, idx, sym)
337 # define xelf_update_symshndx(data, ndxdata, idx, name1, name2, datachanged) \
338 gelf_update_symshndx (data, ndxdata, idx, name1, name2)
341 # define xelf_getversym_copy(data, idx, name) \
342 gelf_getversym (data, idx, &name)
345 # define xelf_getdyn(data, idx, name) \
346 name = gelf_getdyn (data, idx, &name##_mem)
347 # define xelf_getdyn_ptr(data, idx, name) \
349 # define xelf_update_dyn(data, idx, name) \
350 gelf_update_dyn (data, idx, name)
353 # define xelf_getrel(data, idx, name) \
354 name = gelf_getrel (data, idx, &name##_mem)
355 # define xelf_getrel_ptr(data, idx, name) \
357 # define xelf_update_rel(data, idx, name) \
358 gelf_update_rel (data, idx, name)
361 # define xelf_getrela(data, idx, name) \
362 name = gelf_getrela (data, idx, &name##_mem)
363 # define xelf_getrela_ptr(data, idx, name) \
365 # define xelf_update_rela(data, idx, name) \
366 gelf_update_rela (data, idx, name)
369 # define xelf_getverdef(data, offset, name) \
370 name = gelf_getverdef (data, offset, &name##_mem)
373 # define xelf_getverdaux(data, offset, name) \
374 name = gelf_getverdaux (data, offset, &name##_mem)