Lines Matching defs:section
122 static void find_address_in_section(bfd *abfd, asection *section, void *data)
133 flags = bfd_get_section_flags(abfd, section);
135 flags = bfd_section_flags(section);
142 vma = bfd_get_section_vma(abfd, section);
144 vma = bfd_section_vma(section);
147 size = bfd_get_section_size(section);
149 size = bfd_section_size(section);
155 a2l->found = bfd_find_nearest_line(abfd, section, a2l->syms, pc - vma,
319 asection *section;
356 section = bfd_get_section_by_name(abfd, ".text");
357 if (section) {
365 u64 text_offset = (section->vma - (u32)section->vma)
368 dso__set_text_end(dso, (section->vma - text_offset) + section->size);
370 dso__set_text_offset(dso, section->vma - section->filepos);
371 dso__set_text_end(dso, section->filepos + section->size);
382 section = bfd_asymbol_section(sym);
387 bfd_asymbol_section(symbols[i + 1]) == section &&
392 bfd_asymbol_section(symbols[i + 1]) == section)
395 len = section->size - sym->value;
464 asection *section;
477 section = bfd_get_section_by_name(abfd, ".gnu_debuglink");
478 if (!section)
481 if (section->size > size)
484 if (!bfd_get_section_contents(abfd, section, debuglink, 0,
485 section->size))