Home
last modified time | relevance | path

Searched refs:sectp (Results 1 – 8 of 8) sorted by relevance

/mirbsd/src/gnu/usr.bin/binutils/gdb/
Delfread.c78 elf_locate_sections (bfd *ignore_abfd, asection *sectp, void *eip) in elf_locate_sections() argument
83 if (strcmp (sectp->name, ".debug") == 0) in elf_locate_sections()
85 ei->dboffset = sectp->filepos; in elf_locate_sections()
86 ei->dbsize = bfd_get_section_size (sectp); in elf_locate_sections()
88 else if (strcmp (sectp->name, ".line") == 0) in elf_locate_sections()
90 ei->lnoffset = sectp->filepos; in elf_locate_sections()
91 ei->lnsize = bfd_get_section_size (sectp); in elf_locate_sections()
93 else if (strcmp (sectp->name, ".stab") == 0) in elf_locate_sections()
95 ei->stabsect = sectp; in elf_locate_sections()
97 else if (strcmp (sectp->name, ".stab.index") == 0) in elf_locate_sections()
[all …]
Dmipsread.c161 alphacoff_locate_sections (bfd *ignore_abfd, asection *sectp, void *sip) in alphacoff_locate_sections() argument
167 if (strcmp (sectp->name, ".dynsym") == 0) in alphacoff_locate_sections()
168 si->sym_sect = sectp; in alphacoff_locate_sections()
169 else if (strcmp (sectp->name, ".dynstr") == 0) in alphacoff_locate_sections()
170 si->str_sect = sectp; in alphacoff_locate_sections()
171 else if (strcmp (sectp->name, ".dynamic") == 0) in alphacoff_locate_sections()
172 si->dyninfo_sect = sectp; in alphacoff_locate_sections()
173 else if (strcmp (sectp->name, ".got") == 0) in alphacoff_locate_sections()
174 si->got_sect = sectp; in alphacoff_locate_sections()
Dcoff-pe-read.c84 get_section_vmas (bfd *abfd, asection *sectp, void *context) in get_section_vmas() argument
87 int sectix = read_pe_section_index (sectp->name); in get_section_vmas()
95 = bfd_get_section_vma (abfd, sectp) - sections[sectix].rva_start; in get_section_vmas()
Ddwarf2read.c1118 dwarf2_locate_sections (bfd *ignore_abfd, asection *sectp, void *ignore_ptr) in dwarf2_locate_sections() argument
1120 if (strcmp (sectp->name, INFO_SECTION) == 0) in dwarf2_locate_sections()
1122 dwarf2_per_objfile->info_size = bfd_get_section_size (sectp); in dwarf2_locate_sections()
1123 dwarf_info_section = sectp; in dwarf2_locate_sections()
1125 else if (strcmp (sectp->name, ABBREV_SECTION) == 0) in dwarf2_locate_sections()
1127 dwarf2_per_objfile->abbrev_size = bfd_get_section_size (sectp); in dwarf2_locate_sections()
1128 dwarf_abbrev_section = sectp; in dwarf2_locate_sections()
1130 else if (strcmp (sectp->name, LINE_SECTION) == 0) in dwarf2_locate_sections()
1132 dwarf2_per_objfile->line_size = bfd_get_section_size (sectp); in dwarf2_locate_sections()
1133 dwarf_line_section = sectp; in dwarf2_locate_sections()
[all …]
Dcoffread.c196 coff_locate_sections (bfd *abfd, asection *sectp, void *csip) in coff_locate_sections() argument
202 name = bfd_get_section_name (abfd, sectp); in coff_locate_sections()
205 csi->textaddr = bfd_section_vma (abfd, sectp); in coff_locate_sections()
206 csi->textsize += bfd_section_size (abfd, sectp); in coff_locate_sections()
210 csi->textsize += bfd_section_size (abfd, sectp); in coff_locate_sections()
214 csi->stabstrsect = sectp; in coff_locate_sections()
231 n->section = sectp; in coff_locate_sections()
Dsymfile.h317 extern bfd_byte *symfile_relocate_debug_section (bfd *abfd, asection *sectp,
Dsymfile.c3630 symfile_dummy_outputs (bfd *abfd, asection *sectp, void *dummy) in symfile_dummy_outputs() argument
3632 sectp->output_section = sectp; in symfile_dummy_outputs()
3633 sectp->output_offset = 0; in symfile_dummy_outputs()
3648 symfile_relocate_debug_section (bfd *abfd, asection *sectp, bfd_byte *buf) in symfile_relocate_debug_section() argument
3652 if ((sectp->flags & SEC_RELOC) == 0) in symfile_relocate_debug_section()
3654 if ((sectp->flags & SEC_DEBUGGING) == 0) in symfile_relocate_debug_section()
3661 return bfd_simple_get_relocated_section_contents (abfd, sectp, buf, NULL); in symfile_relocate_debug_section()
Ddwarf2-frame.c1690 extern char *dwarf2_read_section (struct objfile *objfile, asection *sectp);