Home
last modified time | relevance | path

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

/dragonfly/contrib/gdb-7/gdb/
H A Dgdb_bfd.c345 gdb_bfd_map_section (asection *sectp, bfd_size_type *size) in gdb_bfd_map_section() argument
351 gdb_assert ((sectp->flags & SEC_RELOC) == 0); in gdb_bfd_map_section()
354 abfd = sectp->owner; in gdb_bfd_map_section()
356 descriptor = get_section_descriptor (sectp); in gdb_bfd_map_section()
363 if (!bfd_is_section_compressed (abfd, sectp)) in gdb_bfd_map_section()
374 if (bfd_get_section_size (sectp) > 4 * pagesize) in gdb_bfd_map_section()
376 descriptor->size = bfd_get_section_size (sectp); in gdb_bfd_map_section()
378 MAP_PRIVATE, sectp->filepos, in gdb_bfd_map_section()
400 descriptor->size = bfd_get_section_size (sectp); in gdb_bfd_map_section()
404 if (!bfd_get_full_section_contents (abfd, sectp, &data)) in gdb_bfd_map_section()
[all …]
H A Dmipsread.c160 alphacoff_locate_sections (bfd *ignore_abfd, asection *sectp, void *sip) in alphacoff_locate_sections() argument
166 if (strcmp (sectp->name, ".dynsym") == 0) in alphacoff_locate_sections()
167 si->sym_sect = sectp; in alphacoff_locate_sections()
168 else if (strcmp (sectp->name, ".dynstr") == 0) in alphacoff_locate_sections()
169 si->str_sect = sectp; in alphacoff_locate_sections()
170 else if (strcmp (sectp->name, ".dynamic") == 0) in alphacoff_locate_sections()
171 si->dyninfo_sect = sectp; in alphacoff_locate_sections()
172 else if (strcmp (sectp->name, ".got") == 0) in alphacoff_locate_sections()
173 si->got_sect = sectp; in alphacoff_locate_sections()
H A Ddwarf2read.c1885 type_section.asection = sectp; in dwarf2_locate_sections()
1920 asection *sectp = info->asection; in dwarf2_read_section() local
1933 abfd = sectp->owner; in dwarf2_read_section()
1937 if ((sectp->flags & SEC_RELOC) == 0) in dwarf2_read_section()
2000 *sectp = NULL; in dwarf2_get_section_info()
2019 *sectp = info->asection; in dwarf2_get_section_info()
2040 dwz_file->info.asection = sectp; in locate_dwz_sections()
2045 dwz_file->str.asection = sectp; in locate_dwz_sections()
2050 dwz_file->line.asection = sectp; in locate_dwz_sections()
8644 asection *sectp; in create_dwo_in_dwp() local
[all …]
H A Dsymfile.h412 bfd_byte *(*sym_relocate) (struct objfile *, asection *sectp, bfd_byte *buf);
448 asection *sectp, bfd_byte *buf);
H A Delfread.c179 elf_locate_sections (bfd *ignore_abfd, asection *sectp, void *eip) in elf_locate_sections() argument
184 if (strcmp (sectp->name, ".stab") == 0) in elf_locate_sections()
186 ei->stabsect = sectp; in elf_locate_sections()
188 else if (strcmp (sectp->name, ".stab.index") == 0) in elf_locate_sections()
190 ei->stabindexsect = sectp; in elf_locate_sections()
192 else if (strcmp (sectp->name, ".mdebug") == 0) in elf_locate_sections()
194 ei->mdebugsect = sectp; in elf_locate_sections()
H A Dmachoread.c945 macho_symfile_relocate (struct objfile *objfile, asection *sectp, in macho_symfile_relocate() argument
952 if ((sectp->flags & SEC_RELOC) == 0) in macho_symfile_relocate()
957 sectp->name, objfile->name); in macho_symfile_relocate()
959 return bfd_simple_get_relocated_section_contents (abfd, sectp, buf, NULL); in macho_symfile_relocate()
H A Dcoff-pe-read.c125 get_section_vmas (bfd *abfd, asection *sectp, void *context) in get_section_vmas() argument
129 int sectix = get_pe_section_index (sectp->name, sections, in get_section_vmas()
138 = bfd_get_section_vma (abfd, sectp) - sections[sectix].rva_start; in get_section_vmas()
H A Dcoffread.c212 coff_locate_sections (bfd *abfd, asection *sectp, void *csip) in coff_locate_sections() argument
218 name = bfd_get_section_name (abfd, sectp); in coff_locate_sections()
221 csi->textaddr = bfd_section_vma (abfd, sectp); in coff_locate_sections()
222 csi->textsize += bfd_section_size (abfd, sectp); in coff_locate_sections()
226 csi->textsize += bfd_section_size (abfd, sectp); in coff_locate_sections()
230 csi->stabstrsect = sectp; in coff_locate_sections()
247 n->section = sectp; in coff_locate_sections()
H A Dsymfile.c3646 symfile_dummy_outputs (bfd *abfd, asection *sectp, void *dummy) in symfile_dummy_outputs() argument
3648 sectp->output_section = sectp; in symfile_dummy_outputs()
3649 sectp->output_offset = 0; in symfile_dummy_outputs()
3656 default_symfile_relocate (struct objfile *objfile, asection *sectp, in default_symfile_relocate() argument
3661 bfd *abfd = sectp->owner; in default_symfile_relocate()
3665 if ((sectp->flags & SEC_RELOC) == 0) in default_symfile_relocate()
3672 return bfd_simple_get_relocated_section_contents (abfd, sectp, buf, NULL); in default_symfile_relocate()
3691 asection *sectp, bfd_byte *buf) in symfile_relocate_debug_section() argument
3695 return (*objfile->sf->sym_relocate) (objfile, sectp, buf); in symfile_relocate_debug_section()