Lines Matching refs:dl
198 Elf_Data_List *dl;
204 dl = &scn->data_list;
209 if ((scn->flags | dl->flags | elf->flags) & ELF_F_DIRTY)
211 if (scn_start + dl->data.d.d_off != last_position)
213 if (scn_start + dl->data.d.d_off > last_position)
221 written = MIN (scn_start + dl->data.d.d_off
230 != scn_start + dl->data.d.d_off
231 && shdr_end < scn_start + dl->data.d.d_off)
233 scn_start + dl->data.d.d_off - shdr_end);
235 last_position = scn_start + dl->data.d.d_off;
242 fctp = __elf_xfctstom[__libelf_version - 1][dl->data.d.d_version - 1][ELFW(ELFCLASS, LIBELFBITS) - 1][dl->data.d.d_type];
245 fctp = __elf_xfctstom[0][0][ELFW(ELFCLASS, LIBELFBITS) - 1][dl->data.d.d_type];
249 (*fctp) (last_position, dl->data.d.d_buf,
250 dl->data.d.d_size, 1);
252 last_position += dl->data.d.d_size;
256 dl->data.d.d_buf,
257 dl->data.d.d_size);
260 last_position += dl->data.d.d_size;
262 dl->flags &= ~ELF_F_DIRTY;
264 dl = dl->next;
266 while (dl != NULL);
507 Elf_Data_List *dl;
512 dl = &scn->data_list;
518 if ((scn->flags | dl->flags | elf->flags) & ELF_F_DIRTY)
521 void *buf = dl->data.d.d_buf;
523 if (scn_start + dl->data.d.d_off != last_offset)
525 assert (last_offset < scn_start + dl->data.d.d_off);
528 (scn_start + dl->data.d.d_off)
533 last_offset = scn_start + dl->data.d.d_off;
539 fctp = __elf_xfctstom[__libelf_version - 1][dl->data.d.d_version - 1][ELFW(ELFCLASS, LIBELFBITS) - 1][dl->data.d.d_type];
542 fctp = __elf_xfctstom[0][0][ELFW(ELFCLASS, LIBELFBITS) - 1][dl->data.d.d_type];
546 if (dl->data.d.d_size > MAX_TMPBUF)
548 buf = malloc (dl
557 (*fctp) (buf, dl->data.d.d_buf, dl->data.d.d_size, 1);
561 dl->data.d.d_size,
563 != dl->data.d.d_size))
565 if (buf != dl->data.d.d_buf && buf != tmpbuf)
572 if (buf != dl->data.d.d_buf && buf != tmpbuf)
576 last_offset += dl->data.d.d_size;
578 dl->flags &= ~ELF_F_DIRTY;
580 dl = dl->next;
582 while (dl != NULL);