Lines Matching refs:newsect

118   asection *newsect;  in make_a_section_from_file()  local
190 newsect = bfd_make_section_anyway (abfd, name); in make_a_section_from_file()
191 if (newsect == NULL) in make_a_section_from_file()
194 newsect->vma = hdr->s_vaddr; in make_a_section_from_file()
195 newsect->lma = hdr->s_paddr; in make_a_section_from_file()
196 newsect->size = hdr->s_size; in make_a_section_from_file()
197 newsect->filepos = hdr->s_scnptr; in make_a_section_from_file()
198 newsect->rel_filepos = hdr->s_relptr; in make_a_section_from_file()
199 newsect->reloc_count = hdr->s_nreloc; in make_a_section_from_file()
201 bfd_coff_set_alignment_hook (abfd, newsect, hdr); in make_a_section_from_file()
203 newsect->line_filepos = hdr->s_lnnoptr; in make_a_section_from_file()
205 newsect->lineno_count = hdr->s_nlnno; in make_a_section_from_file()
206 newsect->userdata = NULL; in make_a_section_from_file()
207 newsect->next = NULL; in make_a_section_from_file()
208 newsect->target_index = target_index; in make_a_section_from_file()
210 if (!bfd_coff_styp_to_sec_flags_hook (abfd, hdr, name, newsect, &flags)) in make_a_section_from_file()
216 newsect->lineno_count = 0; in make_a_section_from_file()
224 newsect->flags = flags; in make_a_section_from_file()
236 if (bfd_is_section_compressed (abfd, newsect)) in make_a_section_from_file()
245 if ((abfd->flags & BFD_COMPRESS) && newsect->size != 0) in make_a_section_from_file()
251 if (!bfd_init_section_compress_status (abfd, newsect)) in make_a_section_from_file()
261 if (!bfd_init_section_decompress_status (abfd, newsect)) in make_a_section_from_file()
276 bfd_rename_section (newsect, new_name); in make_a_section_from_file()