Lines Matching refs:sect

375 bfdsec_to_vmap (struct bfd *abfd, struct bfd_section *sect, void *arg3)  in bfdsec_to_vmap()  argument
382 if ((bfd_get_section_flags (abfd, sect) & SEC_LOAD) == 0) in bfdsec_to_vmap()
385 if (DEPRECATED_STREQ (bfd_section_name (abfd, sect), ".text")) in bfdsec_to_vmap()
387 vp->tstart = bfd_section_vma (abfd, sect); in bfdsec_to_vmap()
388 vp->tend = vp->tstart + bfd_section_size (abfd, sect); in bfdsec_to_vmap()
389 vp->tvma = bfd_section_vma (abfd, sect); in bfdsec_to_vmap()
390 vp->toffs = sect->filepos; in bfdsec_to_vmap()
392 else if (DEPRECATED_STREQ (bfd_section_name (abfd, sect), ".data")) in bfdsec_to_vmap()
394 vp->dstart = bfd_section_vma (abfd, sect); in bfdsec_to_vmap()
395 vp->dend = vp->dstart + bfd_section_size (abfd, sect); in bfdsec_to_vmap()
396 vp->dvma = bfd_section_vma (abfd, sect); in bfdsec_to_vmap()
597 struct section_table *sect; in exec_set_section_offsets() local
599 for (sect = exec_ops.to_sections; in exec_set_section_offsets()
600 sect < exec_ops.to_sections_end; in exec_set_section_offsets()
601 sect++) in exec_set_section_offsets()
605 flags = bfd_get_section_flags (exec_bfd, sect->the_bfd_section); in exec_set_section_offsets()
609 sect->addr += text_off; in exec_set_section_offsets()
610 sect->endaddr += text_off; in exec_set_section_offsets()
614 sect->addr += data_off; in exec_set_section_offsets()
615 sect->endaddr += data_off; in exec_set_section_offsets()
619 sect->addr += bss_off; in exec_set_section_offsets()
620 sect->endaddr += bss_off; in exec_set_section_offsets()