Lines Matching defs:sect
379 bfdsec_to_vmap (struct bfd *abfd, struct bfd_section *sect, void *arg3)
386 if ((bfd_get_section_flags (abfd, sect) & SEC_LOAD) == 0)
389 if (DEPRECATED_STREQ (bfd_section_name (abfd, sect), ".text"))
391 vp->tstart = bfd_section_vma (abfd, sect);
392 vp->tend = vp->tstart + bfd_section_size (abfd, sect);
393 vp->tvma = bfd_section_vma (abfd, sect);
394 vp->toffs = sect->filepos;
396 else if (DEPRECATED_STREQ (bfd_section_name (abfd, sect), ".data"))
398 vp->dstart = bfd_section_vma (abfd, sect);
399 vp->dend = vp->dstart + bfd_section_size (abfd, sect);
400 vp->dvma = bfd_section_vma (abfd, sect);
603 struct section_table *sect;
605 for (sect = exec_ops.to_sections;
606 sect < exec_ops.to_sections_end;
607 sect++)
611 flags = bfd_get_section_flags (exec_bfd, sect->the_bfd_section);
615 sect->addr += text_off;
616 sect->endaddr += text_off;
620 sect->addr += data_off;
621 sect->endaddr += data_off;
625 sect->addr += bss_off;
626 sect->endaddr += bss_off;