Home | History | Annotate | Download | only in opjitconv

Lines Matching full:section

34 	asection * section = NULL;
47 if (e->section)
48 section = e->section;
56 s->section = section;
58 s->value = e->vma - section->vma;
73 * create a new section.
78 asection * section;
81 section = bfd_make_section(abfd, section_name);
82 if (section == NULL) {
86 if (bfd_set_section_vma(abfd, section, vma) == FALSE) {
90 if (bfd_set_section_size(abfd, section, size) == FALSE) {
94 if (bfd_set_section_flags(abfd, section, flags) == FALSE) {
98 return section;
104 /* create a .text section. end_idx: index last jitentry (inclusive!) */
109 asection * section;
119 verbprintf(debug, "section idx=%i, name=%s, vma_start=%llx, size=%i\n",
122 section = create_section(cur_bfd, section_name, size, vma_start,
124 if (section)
125 entries_address_ascending[start_idx]->section = section;
132 /* fill a section contents at a given offset from the start of the section */
133 int fill_section_content(bfd * abfd, asection * section,
136 if (bfd_set_section_contents(abfd, section, b, offset, sz) == FALSE) {
145 * the section.
147 static int fill_text_section_content(asection * section, int start_idx,
158 verbprintf(debug, "section = %s, i = %i, code = %llx,"
161 section->name, i,
170 rc = fill_section_content(cur_bfd, section,
182 * have a gap greater or equal to 4096 make a new section.
192 // i: start index of the section
199 // create an additional section
220 asection * section;
229 if (entries_address_ascending[j]->section) {
230 section = entries_address_ascending[i]->section;
231 rc = fill_text_section_content(section, i,
240 section = entries_address_ascending[i]->section;
241 rc = fill_text_section_content(section,