Lines Matching defs:data
65 [1] = ".data",
112 scn = asm_newscn (ctx, ".data", SHT_PROGBITS, SHF_ALLOC | SHF_WRITE);
299 Elf_Data *data = elf_getdata (escn, NULL);
301 if (data == NULL)
303 printf ("cannot get data of section %zd\n", cnt);
308 if (data->d_size != sizeof (expecteddata))
310 printf ("data block size of section %zd wrong: got %zd, "
311 "expected 96\n", cnt, data->d_size);
315 if (memcmp (data->d_buf, expecteddata, sizeof (expecteddata))
318 printf ("data block content of section %zd wrong\n", cnt);