Lines Matching defs:data
151 /* Create new section data. */
152 Elf_Data *data = elf_newdata (scn);
153 if (data == NULL)
155 printf ("cannot create data for DYNAMIC section: %s\n", elf_errmsg (-1));
175 data->d_buf = dyn;
176 data->d_type = ELF_T_DYN;
177 data->d_version = EV_CURRENT;
178 data->d_size = ndtflags * sizeof (Elf32_Dyn);
179 data->d_align = 0x8;
208 data = elf_newdata (scn);
209 if (data == NULL)
211 printf ("cannot create data SHSTRTAB section: %s\n", elf_errmsg (-1));
216 dwelf_strtab_finalize (shst, data);
258 /* And the data allocated in the .shstrtab section. */
259 free (data->d_buf);