Home
last modified time | relevance | path

Searched refs:osect (Results 1 – 18 of 18) sorted by relevance

/netbsd/src/external/gpl3/gdb/dist/gdb/
Dsymfile.c847 for (obj_section *osect : objfile->sections ()) in init_entry_point_info()
849 struct bfd_section *sect = osect->the_bfd_section; in init_entry_point_info()
3014 section_is_mapped (struct obj_section *osect) in section_is_mapped() argument
3018 if (osect == 0 || !section_is_overlay (osect)) in section_is_mapped()
3029 gdbarch = osect->objfile->arch (); in section_is_mapped()
3037 if (osect->ovly_mapped == -1) in section_is_mapped()
3038 gdbarch_overlay_update (gdbarch, osect); in section_is_mapped()
3042 return osect->ovly_mapped == 1; in section_is_mapped()
3175 for (obj_section *osect : objfile->sections ()) in find_pc_overlay()
3176 if (section_is_overlay (osect)) in find_pc_overlay()
[all …]
Dhppa-linux-tdep.c363 for (obj_section *osect : faddr_sect->objfile->sections ()) in hppa_linux_find_global_pointer()
365 if (strcmp (osect->the_bfd_section->name, ".dynamic") == 0) in hppa_linux_find_global_pointer()
369 addr = osect->addr (); in hppa_linux_find_global_pointer()
370 endaddr = osect->endaddr (); in hppa_linux_find_global_pointer()
Dmaint.c335 obj_section *osect in maint_obj_section_from_bfd_section() local
338 if (osect >= ofile->sections_end) in maint_obj_section_from_bfd_section()
341 return osect; in maint_obj_section_from_bfd_section()
372 obj_section *osect = nullptr; in maint_print_all_sections() local
377 osect in maint_print_all_sections()
379 if (osect->the_bfd_section == nullptr) in maint_print_all_sections()
380 osect = nullptr; in maint_print_all_sections()
383 if (osect == nullptr) in maint_print_all_sections()
386 print_objfile_section_info (abfd, osect, arg, digits); in maint_print_all_sections()
Dmachoread.c902 for (obj_section *osect : objfile->sections ()) in macho_symfile_offsets()
904 const char *bfd_sect_name = osect->the_bfd_section->name; in macho_symfile_offsets()
908 osect->set_offset (addrs[i].addr); in macho_symfile_offsets()
916 for (obj_section *osect : objfile->sections ()) in macho_symfile_offsets()
918 const char *bfd_sect_name = osect->the_bfd_section->name; in macho_symfile_offsets()
919 int sect_index = osect - objfile->sections_start; in macho_symfile_offsets()
Dobjfiles.c868 for (const obj_section *osect : objfile1->sections ()) in sort_cmp() local
869 if (osect == sect2) in sort_cmp()
871 else if (osect == sect1) in sort_cmp()
1207 for (obj_section *osect : objfile->sections ()) in is_addr_in_objfile()
1209 if (section_is_overlay (osect) && !section_is_mapped (osect)) in is_addr_in_objfile()
1212 if (osect->contains (addr)) in is_addr_in_objfile()
Dprintcmd.c1495 for (obj_section *osect : objfile->sections ()) in info_symbol_command()
1502 sect_addr = overlay_mapped_address (addr, osect); in info_symbol_command()
1504 if (osect->contains (sect_addr) in info_symbol_command()
1507 osect).minsym)) in info_symbol_command()
1514 mapped = section_is_mapped (osect) ? _("mapped") : _("unmapped"); in info_symbol_command()
1515 sec_name = osect->the_bfd_section->name; in info_symbol_command()
1529 gdb_assert (osect->objfile && objfile_name (osect->objfile)); in info_symbol_command()
1530 obj_name = objfile_name (osect->objfile); in info_symbol_command()
1533 if (pc_in_unmapped_range (addr, osect)) in info_symbol_command()
1534 if (section_is_overlay (osect)) in info_symbol_command()
[all …]
Dexec.c631 for (obj_section *osect : objfile->sections ()) in add_target_sections()
633 if (bfd_section_size (osect->the_bfd_section) == 0) in add_target_sections()
636 m_target_sections.emplace_back (osect->addr (), osect->endaddr (), in add_target_sections()
637 osect->the_bfd_section, objfile); in add_target_sections()
Dxstormy16-tdep.c549 for (obj_section *osect : faddr_sect->objfile->sections ()) in xstormy16_find_jmp_table_entry()
551 if (!strcmp (osect->the_bfd_section->name, ".plt")) in xstormy16_find_jmp_table_entry()
555 addr = osect->addr (); in xstormy16_find_jmp_table_entry()
556 endaddr = osect->endaddr (); in xstormy16_find_jmp_table_entry()
Dsolib-aix.c631 for (obj_section *osect : objfile->sections ()) in data_obj_section_from_objfile()
632 if (strcmp (bfd_section_name (osect->the_bfd_section), ".data") == 0) in data_obj_section_from_objfile()
633 return osect; in data_obj_section_from_objfile()
Dz80-tdep.c946 z80_overlay_update_1 (struct obj_section *osect) in z80_overlay_update_1() argument
949 asection *bsect = osect->the_bfd_section; in z80_overlay_update_1()
976 z80_overlay_update (struct obj_section *osect) in z80_overlay_update() argument
983 if (osect != nullptr && z80_overlay_update_1 (osect)) in z80_overlay_update()
Dsolib-frv.c745 for (obj_section *osect : objf->sections ()) in frv_relocate_main_executable()
751 osect_idx = osect - objf->sections_start; in frv_relocate_main_executable()
754 addr = osect->addr (); in frv_relocate_main_executable()
Dsolib-dsbt.c810 for (obj_section *osect : objf->sections ()) in dsbt_relocate_main_executable()
816 osect_idx = osect - objf->sections_start; in dsbt_relocate_main_executable()
819 addr = osect->addr (); in dsbt_relocate_main_executable()
Dia64-tdep.c3435 for (obj_section *osect : faddr_sect->objfile->sections ()) in ia64_find_global_pointer_from_dynamic_section()
3437 if (strcmp (osect->the_bfd_section->name, ".dynamic") == 0) in ia64_find_global_pointer_from_dynamic_section()
3439 CORE_ADDR addr = osect->addr (); in ia64_find_global_pointer_from_dynamic_section()
3440 CORE_ADDR endaddr = osect->endaddr (); in ia64_find_global_pointer_from_dynamic_section()
3516 for (obj_section *osect : faddr_sect->objfile->sections ()) in find_extant_func_descr()
3518 if (strcmp (osect->the_bfd_section->name, ".opd") == 0) in find_extant_func_descr()
3520 CORE_ADDR addr = osect->addr (); in find_extant_func_descr()
3521 CORE_ADDR endaddr = osect->endaddr (); in find_extant_func_descr()
Dgdbarch-gen.h1216 typedef void (gdbarch_overlay_update_ftype) (struct obj_section *osect);
1217 extern void gdbarch_overlay_update (struct gdbarch *gdbarch, struct obj_section *osect);
Di386-tdep.c2836 obj_section *osect = nullptr; in i386_thiscall_push_dummy_call() local
2853 osect = maint_obj_section_from_bfd_section (objf->obfd.get (), in i386_thiscall_push_dummy_call()
2856 if (osect != nullptr) in i386_thiscall_push_dummy_call()
2859 store_unsigned_integer (buf, 4, byte_order, osect->addr ()); in i386_thiscall_push_dummy_call()
Darm-tdep.c2509 for (obj_section *osect : objfile->sections ()) in arm_obj_section_from_vma()
2510 if (bfd_section_flags (osect->the_bfd_section) & SEC_ALLOC) in arm_obj_section_from_vma()
2513 start = bfd_section_vma (osect->the_bfd_section); in arm_obj_section_from_vma()
2514 size = bfd_section_size (osect->the_bfd_section); in arm_obj_section_from_vma()
2517 return osect; in arm_obj_section_from_vma()
Dgdbarch.c4322 gdbarch_overlay_update (struct gdbarch *gdbarch, struct obj_section *osect) in gdbarch_overlay_update() argument
4328 gdbarch->overlay_update (osect); in gdbarch_overlay_update()
/netbsd/src/external/gpl3/binutils/dist/gold/
Dsymtab.cc3231 Output_section* osect = oseg->first_section(); in sized_write_globals() local
3232 if (osect == NULL) in sized_write_globals()
3235 shndx = osect->out_shndx(); in sized_write_globals()