Lines Matching refs:current

721   asection *current;  in xcoff64_write_object_contents()  local
747 for (current = abfd->sections; current != NULL; current = current->next) in xcoff64_write_object_contents()
748 reloc_size += current->reloc_count * bfd_coff_relsz (abfd); in xcoff64_write_object_contents()
759 for (current = abfd->sections; current != NULL; current = current->next) in xcoff64_write_object_contents()
761 if (current->lineno_count) in xcoff64_write_object_contents()
763 current->line_filepos = lineno_base; in xcoff64_write_object_contents()
764 current->moving_line_filepos = lineno_base; in xcoff64_write_object_contents()
765 lineno_base += current->lineno_count * bfd_coff_linesz (abfd); in xcoff64_write_object_contents()
769 current->line_filepos = 0; in xcoff64_write_object_contents()
772 if (current->reloc_count) in xcoff64_write_object_contents()
774 current->rel_filepos = reloc_base; in xcoff64_write_object_contents()
775 reloc_base += current->reloc_count * bfd_coff_relsz (abfd); in xcoff64_write_object_contents()
779 current->rel_filepos = 0; in xcoff64_write_object_contents()
799 for (current = abfd->sections; current != NULL; current = current->next) in xcoff64_write_object_contents()
807 strncpy (section.s_name, current->name, SCNNMLEN); in xcoff64_write_object_contents()
809 section.s_vaddr = current->vma; in xcoff64_write_object_contents()
810 section.s_paddr = current->lma; in xcoff64_write_object_contents()
811 section.s_size = current->size; in xcoff64_write_object_contents()
815 if (current->size == 0 in xcoff64_write_object_contents()
816 || (current->flags & (SEC_LOAD | SEC_HAS_CONTENTS)) == 0) in xcoff64_write_object_contents()
822 section.s_scnptr = current->filepos; in xcoff64_write_object_contents()
825 section.s_relptr = current->rel_filepos; in xcoff64_write_object_contents()
826 section.s_lnnoptr = current->line_filepos; in xcoff64_write_object_contents()
827 section.s_nreloc = current->reloc_count; in xcoff64_write_object_contents()
829 section.s_nlnno = current->lineno_count; in xcoff64_write_object_contents()
830 if (current->reloc_count != 0) in xcoff64_write_object_contents()
832 if (current->lineno_count != 0) in xcoff64_write_object_contents()
835 section.s_flags = sec_to_styp_flags (current->name, current->flags); in xcoff64_write_object_contents()
837 if (!strcmp (current->name, _TEXT)) in xcoff64_write_object_contents()
839 text_sec = current; in xcoff64_write_object_contents()
841 else if (!strcmp (current->name, _DATA)) in xcoff64_write_object_contents()
843 data_sec = current; in xcoff64_write_object_contents()
845 else if (!strcmp (current->name, _BSS)) in xcoff64_write_object_contents()
847 bss_sec = current; in xcoff64_write_object_contents()