Lines Matching defs:section
541 "Client Program Format" section. */
1433 struct ecoff_section *section;
1446 ecoff_img = xmalloc (program_size + sizeof (*head) + sizeof (*section));
1447 grub_memset (ecoff_img, 0, program_size + sizeof (*head) + sizeof (*section));
1449 section = (void *) (head + 1);
1460 grub_memcpy (section->name, ".text", sizeof (".text") - 1);
1461 section->vaddr = grub_host_to_target32 (target_addr);
1462 section->size = grub_host_to_target32 (program_size);
1463 section->file_offset = grub_host_to_target32 (sizeof (*head) + sizeof (*section));
1464 memcpy (section + 1, core_img, core_size);
1467 core_size = program_size + sizeof (*head) + sizeof (*section);
1516 /* No section headers. */