• Home
  • Raw
  • Download

Lines Matching refs:idx

63 # define xelf_getphdr(elf, idx, name) name = elf32_getphdr (elf) + idx  argument
64 # define xelf_getphdr_ptr(elf, idx, name) name = elf32_getphdr (elf) + idx argument
65 # define xelf_update_phdr(elf, idx, phdr) \ argument
66 /* nothing */ ((void) (elf), (void) (idx), (void) (phdr), 1)
76 # define xelf_getsym(data, idx, name) \ argument
77 name = &((Elf32_Sym *) (data)->d_buf)[idx]
78 # define xelf_getsym_ptr(data, idx, name) \ argument
79 name = &((Elf32_Sym *) (data)->d_buf)[idx]
80 # define xelf_getsymshndx(data, ndxdata, idx, name1, name2) \ argument
81 (name1 = &((Elf32_Sym *) ((data)->d_buf))[idx]); \
83 ? ((Elf32_Word *) ((ndxdata)->d_buf))[idx] : 0)
84 # define xelf_update_sym(data, idx, sym) \ argument
85 /* nothing */ ((void) (data), (void) (idx), (void) (sym), 1)
86 # define xelf_update_symshndx(data, ndxdata, idx, name1, name2, datachanged) \ argument
88 ((Elf32_Sym *) ((data)->d_buf))[idx] = *name1; \
90 ((Elf32_Word *) ((ndxdata)->d_buf))[idx] = name2
93 # define xelf_getversym_copy(data, idx, name) \ argument
94 (name = ((Elf32_Versym *) ((data)->d_buf))[idx], &name)
97 # define xelf_getdyn(data, idx, name) \ argument
98 name = &((Elf32_Dyn *) ((data)->d_buf))[idx]
99 # define xelf_getdyn_ptr(data, idx, name) \ argument
100 name = &((Elf32_Dyn *) ((data)->d_buf))[idx]
101 # define xelf_update_dyn(data, idx, name) \ argument
102 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
105 # define xelf_getrel(data, idx, name) \ argument
106 name = &((Elf32_Rel *) ((data)->d_buf))[idx]
107 # define xelf_getrel_ptr(data, idx, name) \ argument
108 name = &((Elf32_Rel *) ((data)->d_buf))[idx]
109 # define xelf_update_rel(data, idx, name) \ argument
110 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
113 # define xelf_getrela(data, idx, name) \ argument
114 name = &((Elf32_Rela *) ((data)->d_buf))[idx]
115 # define xelf_getrela_ptr(data, idx, name) \ argument
116 name = &((Elf32_Rela *) ((data)->d_buf))[idx]
117 # define xelf_update_rela(data, idx, name) \ argument
118 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
195 # define xelf_getphdr(elf, idx, name) name = elf64_getphdr (elf) + idx argument
196 # define xelf_getphdr_ptr(elf, idx, name) name = elf64_getphdr (elf) + idx argument
197 # define xelf_update_phdr(elf, idx, phdr) \ argument
198 /* nothing */ ((void) (elf), (void) (idx), (void) (phdr), 1)
208 # define xelf_getsym(data, idx, name) \ argument
209 name = &((Elf64_Sym *) (data)->d_buf)[idx]
210 # define xelf_getsym_ptr(data, idx, name) \ argument
211 name = &((Elf64_Sym *) (data)->d_buf)[idx]
212 # define xelf_getsymshndx(data, ndxdata, idx, name1, name2) \ argument
213 (name1 = &((Elf64_Sym *) ((data)->d_buf))[idx]); \
215 ? ((Elf32_Word *) ((ndxdata)->d_buf))[idx] : 0)
216 # define xelf_update_sym(data, idx, sym) \ argument
217 /* nothing */ ((void) (data), (void) (idx), (void) (sym), 1)
218 # define xelf_update_symshndx(data, ndxdata, idx, name1, name2, datachanged) \ argument
220 ((Elf64_Sym *) ((data)->d_buf))[idx] = *name1; \
222 (((Elf32_Word *) ((ndxdata)->d_buf))[idx] = name2)
225 # define xelf_getversym_copy(data, idx, name) \ argument
226 (name = ((Elf64_Versym *) ((data)->d_buf))[idx], (&name))
229 # define xelf_getdyn(data, idx, name) \ argument
230 name = &((Elf64_Dyn *) ((data)->d_buf))[idx]
231 # define xelf_getdyn_ptr(data, idx, name) \ argument
232 name = &((Elf64_Dyn *) ((data)->d_buf))[idx]
233 # define xelf_update_dyn(data, idx, name) \ argument
234 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
237 # define xelf_getrel(data, idx, name) \ argument
238 name = &((Elf64_Rel *) ((data)->d_buf))[idx]
239 # define xelf_getrel_ptr(data, idx, name) \ argument
240 name = &((Elf64_Rel *) ((data)->d_buf))[idx]
241 # define xelf_update_rel(data, idx, name) \ argument
242 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
245 # define xelf_getrela(data, idx, name) \ argument
246 name = &((Elf64_Rela *) ((data)->d_buf))[idx]
247 # define xelf_getrela_ptr(data, idx, name) \ argument
248 name = &((Elf64_Rela *) ((data)->d_buf))[idx]
249 # define xelf_update_rela(data, idx, name) \ argument
250 /* nothing */ ((void) (data), (void) (idx), (void) (name), 1)
328 # define xelf_getphdr(elf, idx, name) \ argument
329 name = gelf_getphdr (elf, idx, &name##_mem)
330 # define xelf_getphdr_ptr(elf, idx, name) \ argument
332 # define xelf_update_phdr(elf, idx, phdr) \ argument
333 gelf_update_phdr (elf, idx, phdr)
342 # define xelf_getsym(data, idx, name) \ argument
343 name = gelf_getsym (data, idx, &name##_mem)
344 # define xelf_getsym_ptr(data, idx, name) \ argument
346 # define xelf_getsymshndx(data, ndxdata, idx, name1, name2) \ argument
347 name1 = gelf_getsymshndx (data, ndxdata, idx, &name1##_mem, &(name2))
348 # define xelf_update_sym(data, idx, sym) gelf_update_sym (data, idx, sym) argument
349 # define xelf_update_symshndx(data, ndxdata, idx, name1, name2, datachanged) \ argument
350 gelf_update_symshndx (data, ndxdata, idx, name1, name2)
353 # define xelf_getversym_copy(data, idx, name) \ argument
354 gelf_getversym (data, idx, &name)
357 # define xelf_getdyn(data, idx, name) \ argument
358 name = gelf_getdyn (data, idx, &name##_mem)
359 # define xelf_getdyn_ptr(data, idx, name) \ argument
361 # define xelf_update_dyn(data, idx, name) \ argument
362 gelf_update_dyn (data, idx, name)
365 # define xelf_getrel(data, idx, name) \ argument
366 name = gelf_getrel (data, idx, &name##_mem)
367 # define xelf_getrel_ptr(data, idx, name) \ argument
369 # define xelf_update_rel(data, idx, name) \ argument
370 gelf_update_rel (data, idx, name)
373 # define xelf_getrela(data, idx, name) \ argument
374 name = gelf_getrela (data, idx, &name##_mem)
375 # define xelf_getrela_ptr(data, idx, name) \ argument
377 # define xelf_update_rela(data, idx, name) \ argument
378 gelf_update_rela (data, idx, name)