Lines Matching full:data
76 # define xelf_getsym(data, idx, name) \
77 name = &((Elf32_Sym *) (data)->d_buf)[idx]
78 # define xelf_getsym_ptr(data, idx, name) \
79 name = &((Elf32_Sym *) (data)->d_buf)[idx]
80 # define xelf_getsymshndx(data, ndxdata, idx, name1, name2) \
81 (name1 = &((Elf32_Sym *) ((data)->d_buf))[idx]); \
84 # define xelf_update_sym(data, idx, sym) \
85 /* nothing */ ((void) (data), (void) (idx), (void) (sym), 1)
86 # define xelf_update_symshndx(data, ndxdata, idx, name1, name2, datachanged) \
88 ((Elf32_Sym *) ((data)->d_buf))[idx] = *name1; \
93 # define xelf_getversym_copy(data, idx, name) \
94 (name = ((Elf32_Versym *) ((data)->d_buf))[idx], &name)
97 # define xelf_getdyn(data, idx, name) \
98 name = &((Elf32_Dyn *) ((data)->d_buf))[idx]
99 # define xelf_getdyn_ptr(data, idx, name) \
100 name = &((Elf32_Dyn *) ((data)->d_buf))[idx]
101 # define xelf_update_dyn(data, idx, name) \
102 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
105 # define xelf_getrel(data, idx, name) \
106 name = &((Elf32_Rel *) ((data)->d_buf))[idx]
107 # define xelf_getrel_ptr(data, idx, name) \
108 name = &((Elf32_Rel *) ((data)->d_buf))[idx]
109 # define xelf_update_rel(data, idx, name) \
110 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
113 # define xelf_getrela(data, idx, name) \
114 name = &((Elf32_Rela *) ((data)->d_buf))[idx]
115 # define xelf_getrela_ptr(data, idx, name) \
116 name = &((Elf32_Rela *) ((data)->d_buf))[idx]
117 # define xelf_update_rela(data, idx, name) \
118 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
121 # define xelf_getverdef(data, offset, name) \
122 name = ((Elf32_Verdef *) ((char *) ((data)->d_buf) + (offset)))
125 # define xelf_getverdaux(data, offset, name) \
126 name = ((Elf32_Verdaux *) ((char *) ((data)->d_buf) + (offset)))
208 # define xelf_getsym(data, idx, name) \
209 name = &((Elf64_Sym *) (data)->d_buf)[idx]
210 # define xelf_getsym_ptr(data, idx, name) \
211 name = &((Elf64_Sym *) (data)->d_buf)[idx]
212 # define xelf_getsymshndx(data, ndxdata, idx, name1, name2) \
213 (name1 = &((Elf64_Sym *) ((data)->d_buf))[idx]); \
216 # define xelf_update_sym(data, idx, sym) \
217 /* nothing */ ((void) (data), (void) (idx), (void) (sym), 1)
218 # define xelf_update_symshndx(data, ndxdata, idx, name1, name2, datachanged) \
220 ((Elf64_Sym *) ((data)->d_buf))[idx] = *name1; \
225 # define xelf_getversym_copy(data, idx, name) \
226 (name = ((Elf64_Versym *) ((data)->d_buf))[idx], (&name))
229 # define xelf_getdyn(data, idx, name) \
230 name = &((Elf64_Dyn *) ((data)->d_buf))[idx]
231 # define xelf_getdyn_ptr(data, idx, name) \
232 name = &((Elf64_Dyn *) ((data)->d_buf))[idx]
233 # define xelf_update_dyn(data, idx, name) \
234 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
237 # define xelf_getrel(data, idx, name) \
238 name = &((Elf64_Rel *) ((data)->d_buf))[idx]
239 # define xelf_getrel_ptr(data, idx, name) \
240 name = &((Elf64_Rel *) ((data)->d_buf))[idx]
241 # define xelf_update_rel(data, idx, name) \
242 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
245 # define xelf_getrela(data, idx, name) \
246 name = &((Elf64_Rela *) ((data)->d_buf))[idx]
247 # define xelf_getrela_ptr(data, idx, name) \
248 name = &((Elf64_Rela *) ((data)->d_buf))[idx]
249 # define xelf_update_rela(data, idx, name) \
250 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
253 # define xelf_getverdef(data, offset, name) \
254 name = ((Elf64_Verdef *) ((char *) ((data)->d_buf) + (offset)))
257 # define xelf_getverdaux(data, offset, name) \
258 name = ((Elf64_Verdaux *) ((char *) ((data)->d_buf) + (offset)))
342 # define xelf_getsym(data, idx, name) \
343 name = gelf_getsym (data, idx, &name##_mem)
344 # define xelf_getsym_ptr(data, idx, name) \
346 # define xelf_getsymshndx(data, ndxdata, idx, name1, name2) \
347 name1 = gelf_getsymshndx (data, ndxdata, idx, &name1##_mem, &(name2))
348 # define xelf_update_sym(data, idx, sym) gelf_update_sym (data, idx, sym)
349 # define xelf_update_symshndx(data, ndxdata, idx, name1, name2, datachanged) \
350 gelf_update_symshndx (data, ndxdata, idx, name1, name2)
353 # define xelf_getversym_copy(data, idx, name) \
354 gelf_getversym (data, idx, &name)
357 # define xelf_getdyn(data, idx, name) \
358 name = gelf_getdyn (data, idx, &name##_mem)
359 # define xelf_getdyn_ptr(data, idx, name) \
361 # define xelf_update_dyn(data, idx, name) \
362 gelf_update_dyn (data, idx, name)
365 # define xelf_getrel(data, idx, name) \
366 name = gelf_getrel (data, idx, &name##_mem)
367 # define xelf_getrel_ptr(data, idx, name) \
369 # define xelf_update_rel(data, idx, name) \
370 gelf_update_rel (data, idx, name)
373 # define xelf_getrela(data, idx, name) \
374 name = gelf_getrela (data, idx, &name##_mem)
375 # define xelf_getrela_ptr(data, idx, name) \
377 # define xelf_update_rela(data, idx, name) \
378 gelf_update_rela (data, idx, name)
381 # define xelf_getverdef(data, offset, name) \
382 name = gelf_getverdef (data, offset, &name##_mem)
385 # define xelf_getverdaux(data, offset, name) \
386 name = gelf_getverdaux (data, offset, &name##_mem)