Lines Matching refs:section
34 asection * section = NULL; in fill_symtab() local
47 if (e->section) in fill_symtab()
48 section = e->section; in fill_symtab()
56 s->section = section; in fill_symtab()
58 s->value = e->vma - section->vma; in fill_symtab()
78 asection * section; in create_section() local
81 section = bfd_make_section(abfd, section_name); in create_section()
82 if (section == NULL) { in create_section()
86 if (bfd_set_section_vma(abfd, section, vma) == FALSE) { in create_section()
90 if (bfd_set_section_size(abfd, section, size) == FALSE) { in create_section()
94 if (bfd_set_section_flags(abfd, section, flags) == FALSE) { in create_section()
98 return section; in create_section()
109 asection * section; in create_text_section() local
122 section = create_section(cur_bfd, section_name, size, vma_start, in create_text_section()
124 if (section) in create_text_section()
125 entries_address_ascending[start_idx]->section = section; in create_text_section()
133 int fill_section_content(bfd * abfd, asection * section, in fill_section_content() argument
136 if (bfd_set_section_contents(abfd, section, b, offset, sz) == FALSE) { in fill_section_content()
147 static int fill_text_section_content(asection * section, int start_idx, in fill_text_section_content() argument
161 section->name, i, in fill_text_section_content()
170 rc = fill_section_content(cur_bfd, section, in fill_text_section_content()
220 asection * section; in fill_sections() local
229 if (entries_address_ascending[j]->section) { in fill_sections()
230 section = entries_address_ascending[i]->section; in fill_sections()
231 rc = fill_text_section_content(section, i, in fill_sections()
240 section = entries_address_ascending[i]->section; in fill_sections()
241 rc = fill_text_section_content(section, in fill_sections()