| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | elfread.c | 78 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 …]
|
| H A D | mipsread.c | 171 alphacoff_locate_sections (bfd *ignore_abfd, asection *sectp, void *sip) in alphacoff_locate_sections() argument 177 if (DEPRECATED_STREQ (sectp->name, ".dynsym")) in alphacoff_locate_sections() 179 si->sym_sect = sectp; in alphacoff_locate_sections() 181 else if (DEPRECATED_STREQ (sectp->name, ".dynstr")) in alphacoff_locate_sections() 183 si->str_sect = sectp; in alphacoff_locate_sections() 185 else if (DEPRECATED_STREQ (sectp->name, ".dynamic")) in alphacoff_locate_sections() 187 si->dyninfo_sect = sectp; in alphacoff_locate_sections() 189 else if (DEPRECATED_STREQ (sectp->name, ".got")) in alphacoff_locate_sections() 191 si->got_sect = sectp; in alphacoff_locate_sections()
|
| H A D | coff-pe-read.c | 84 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()
|
| H A D | dwarf2read.c | 1103 dwarf2_locate_sections (bfd *ignore_abfd, asection *sectp, void *ignore_ptr) in dwarf2_locate_sections() argument 1105 if (strcmp (sectp->name, INFO_SECTION) == 0) in dwarf2_locate_sections() 1107 dwarf2_per_objfile->info_size = bfd_get_section_size (sectp); in dwarf2_locate_sections() 1108 dwarf_info_section = sectp; in dwarf2_locate_sections() 1110 else if (strcmp (sectp->name, ABBREV_SECTION) == 0) in dwarf2_locate_sections() 1112 dwarf2_per_objfile->abbrev_size = bfd_get_section_size (sectp); in dwarf2_locate_sections() 1113 dwarf_abbrev_section = sectp; in dwarf2_locate_sections() 1115 else if (strcmp (sectp->name, LINE_SECTION) == 0) in dwarf2_locate_sections() 1117 dwarf2_per_objfile->line_size = bfd_get_section_size (sectp); in dwarf2_locate_sections() 1118 dwarf_line_section = sectp; in dwarf2_locate_sections() [all …]
|
| H A D | coffread.c | 196 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()
|
| H A D | symfile.h | 317 extern bfd_byte *symfile_relocate_debug_section (bfd *abfd, asection *sectp,
|
| H A D | symfile.c | 3508 symfile_dummy_outputs (bfd *abfd, asection *sectp, void *dummy) in symfile_dummy_outputs() argument 3510 sectp->output_section = sectp; in symfile_dummy_outputs() 3511 sectp->output_offset = 0; in symfile_dummy_outputs() 3526 symfile_relocate_debug_section (bfd *abfd, asection *sectp, bfd_byte *buf) in symfile_relocate_debug_section() argument 3530 if ((sectp->flags & SEC_RELOC) == 0) in symfile_relocate_debug_section() 3532 if ((sectp->flags & SEC_DEBUGGING) == 0) in symfile_relocate_debug_section() 3539 return bfd_simple_get_relocated_section_contents (abfd, sectp, buf, NULL); in symfile_relocate_debug_section()
|
| H A D | dwarf2-frame.c | 1571 extern char *dwarf2_read_section (struct objfile *objfile, asection *sectp);
|
| H A D | ChangeLog-2003 | 365 bfd_get_section_size_before_reloc and sectp->filepos.
|
| /openbsd-src/regress/usr.bin/mandoc/db/dbm_dump/ |
| H A D | dbm_dump.c | 79 const char *namep, *sectp, *archp, *descp, *filep; in dump_pages() local 87 sectp = sect0 = dbm_get(p.i[1]); in dump_pages() 96 pchk(dbm_get(*p.i++), §p, "sect", 0); in dump_pages() 98 dump_lst(§p); in dump_pages() 133 pchk(arch0, §p, "arch0", 0); in dump_pages() 136 pchk(desc0, §p, "desc0", 0); in dump_pages()
|