/toolchain/binutils/binutils-2.25/gprof/ |
D | corefile.c | 649 asection *sym_sec; in core_create_function_syms() local 676 sym_sec = core_syms[i]->section; in core_create_function_syms() 678 if (sym_sec) in core_create_function_syms() 679 symtab.limit->addr += bfd_get_section_vma (sym_sec->owner, sym_sec); in core_create_function_syms() 737 if (sym_sec) in core_create_function_syms() 738 max_vma = MAX (bfd_get_section_vma (sym_sec->owner, sym_sec) in core_create_function_syms() 739 + bfd_section_size (sym_sec->owner, sym_sec) - 1, in core_create_function_syms()
|
/toolchain/binutils/binutils-2.25/bfd/ |
D | elf32-ip2k.c | 282 asection *sym_sec; in symbol_value() local 286 sym_sec = bfd_und_section_ptr; in symbol_value() 288 sym_sec = bfd_abs_section_ptr; in symbol_value() 290 sym_sec = bfd_com_section_ptr; in symbol_value() 292 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in symbol_value() 294 return isym->st_value + BASEADDR (sym_sec); in symbol_value() 600 asection *sym_sec; in adjust_all_relocations() local 604 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in adjust_all_relocations() 609 bfd_vma symval = BASEADDR (sym_sec) + isym->st_value in adjust_all_relocations() 659 asection *sym_sec; in adjust_all_relocations() local [all …]
|
D | elf32-avr.c | 1827 asection *sym_sec; in elf32_avr_relax_delete_bytes() local 1830 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in elf32_avr_relax_delete_bytes() 1834 if (sym_sec == sec) in elf32_avr_relax_delete_bytes() 1836 symval += sym_sec->output_section->vma in elf32_avr_relax_delete_bytes() 1837 + sym_sec->output_offset; in elf32_avr_relax_delete_bytes() 2089 asection *sym_sec; in elf32_avr_relax_section() local 2092 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in elf32_avr_relax_section() 2096 if (sym_sec) in elf32_avr_relax_section() 2097 symval += sym_sec->output_section->vma in elf32_avr_relax_section() 2098 + sym_sec->output_offset; in elf32_avr_relax_section() [all …]
|
D | elf32-m68hc11.c | 724 asection *sym_sec; in m68hc11_elf_relax_section() local 820 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in m68hc11_elf_relax_section() 822 + sym_sec->output_section->vma in m68hc11_elf_relax_section() 823 + sym_sec->output_offset); in m68hc11_elf_relax_section() 847 sym_sec = h->root.u.def.section; in m68hc11_elf_relax_section() 849 + sym_sec->output_section->vma in m68hc11_elf_relax_section() 850 + sym_sec->output_offset); in m68hc11_elf_relax_section() 885 if (*again && sym_sec != sec in m68hc11_elf_relax_section() 886 && sym_sec->output_section == sec->output_section) in m68hc11_elf_relax_section()
|
D | elf-m10300.c | 1432 asection *sym_sec ATTRIBUTE_UNUSED, in mn10300_elf_final_link_relocate() 1537 && sym_sec != bfd_abs_section_ptr in mn10300_elf_final_link_relocate() 2703 asection *sym_sec = NULL; in mn10300_elf_relax_section() local 2756 sym_sec = NULL; in mn10300_elf_relax_section() 2767 sym_sec = bfd_und_section_ptr; in mn10300_elf_relax_section() 2769 sym_sec = bfd_abs_section_ptr; in mn10300_elf_relax_section() 2771 sym_sec = bfd_com_section_ptr; in mn10300_elf_relax_section() 2773 sym_sec in mn10300_elf_relax_section() 2795 sprintf (new_name, "%s_%08x", sym_name, sym_sec->id); in mn10300_elf_relax_section() 2883 sym_sec = bfd_und_section_ptr; in mn10300_elf_relax_section() [all …]
|
D | elf32-v850.c | 1947 asection *sym_sec, in v850_elf_final_link_relocate() argument 2033 if (sym_sec == NULL) in v850_elf_final_link_relocate() 2036 value -= sym_sec->output_section->vma; in v850_elf_final_link_relocate() 2047 if (sym_sec == NULL) in v850_elf_final_link_relocate() 2060 value -= sym_sec->output_section->vma; in v850_elf_final_link_relocate() 2061 value -= (gp - sym_sec->output_section->vma); in v850_elf_final_link_relocate() 2113 if (sym_sec == NULL) in v850_elf_final_link_relocate() 2126 value -= sym_sec->output_section->vma; in v850_elf_final_link_relocate() 2127 value -= (ctbp - sym_sec->output_section->vma); in v850_elf_final_link_relocate() 3353 asection *sym_sec; in v850_elf_relax_section() local [all …]
|
D | elf64-hppa.c | 3177 asection *sym_sec, in elf_hppa_final_link_relocate() argument 3223 if (sym_sec == NULL || sym_sec->output_section == NULL) in elf_hppa_final_link_relocate() 3257 if (sym_sec == NULL || sym_sec->output_section == NULL) in elf_hppa_final_link_relocate() 3668 if (sym_sec == NULL || sym_sec->output_section == NULL) in elf_hppa_final_link_relocate() 3687 if (sym_sec == NULL || sym_sec->output_section == NULL) in elf_hppa_final_link_relocate() 3757 if (sym_sec) in elf_hppa_final_link_relocate() 3758 value -= sym_sec->output_section->vma; in elf_hppa_final_link_relocate() 3779 if (sym_sec->flags & SEC_CODE) in elf_hppa_final_link_relocate() 3833 asection *sym_sec; in elf64_hppa_relocate_section() local 3851 sym_sec = NULL; in elf64_hppa_relocate_section() [all …]
|
D | elf32-msp430.c | 1829 asection *sym_sec; in msp430_elf_relax_section() local 1833 sym_sec = bfd_und_section_ptr; in msp430_elf_relax_section() 1835 sym_sec = bfd_abs_section_ptr; in msp430_elf_relax_section() 1837 sym_sec = bfd_com_section_ptr; in msp430_elf_relax_section() 1839 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in msp430_elf_relax_section() 1841 + sym_sec->output_section->vma + sym_sec->output_offset); in msp430_elf_relax_section() 1996 asection *sym_sec; in msp430_elf_relax_section() local 2000 sym_sec = bfd_und_section_ptr; in msp430_elf_relax_section() 2002 sym_sec = bfd_abs_section_ptr; in msp430_elf_relax_section() 2004 sym_sec = bfd_com_section_ptr; in msp430_elf_relax_section() [all …]
|
D | elf32-spu.c | 925 asection *sym_sec, in needs_ovl_stub() argument 938 if (sym_sec == NULL in needs_ovl_stub() 939 || sym_sec->output_section == bfd_abs_section_ptr in needs_ovl_stub() 940 || spu_elf_section_data (sym_sec->output_section) == NULL) in needs_ovl_stub() 1006 sym_sec); in needs_ovl_stub() 1010 sym_sec->owner, sym_name); in needs_ovl_stub() 1019 && (sym_sec->flags & SEC_CODE) == 0)) in needs_ovl_stub() 1023 if (spu_elf_section_data (sym_sec->output_section)->u.o.ovl_index == 0 in needs_ovl_stub() 1029 if (spu_elf_section_data (sym_sec->output_section)->u.o.ovl_index in needs_ovl_stub() 1471 asection *sym_sec; in allocate_spuear_stubs() local [all …]
|
D | elf-m10200.c | 239 asection *sym_sec ATTRIBUTE_UNUSED, in mn10200_elf_final_link_relocate() 634 asection *sym_sec; in mn10200_elf_relax_section() local 638 sym_sec = bfd_und_section_ptr; in mn10200_elf_relax_section() 640 sym_sec = bfd_abs_section_ptr; in mn10200_elf_relax_section() 642 sym_sec = bfd_com_section_ptr; in mn10200_elf_relax_section() 644 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in mn10200_elf_relax_section() 646 + sym_sec->output_section->vma in mn10200_elf_relax_section() 647 + sym_sec->output_offset); in mn10200_elf_relax_section()
|
D | elf32-crx.c | 1033 asection *sym_sec; in elf32_crx_relax_section() local 1037 sym_sec = bfd_und_section_ptr; in elf32_crx_relax_section() 1039 sym_sec = bfd_abs_section_ptr; in elf32_crx_relax_section() 1041 sym_sec = bfd_com_section_ptr; in elf32_crx_relax_section() 1043 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in elf32_crx_relax_section() 1045 + sym_sec->output_section->vma in elf32_crx_relax_section() 1046 + sym_sec->output_offset); in elf32_crx_relax_section()
|
D | elf64-ppc.c | 4352 const asection *sym_sec, in ppc_stub_name() argument 4385 sym_sec->id & 0xffffffff, in ppc_stub_name() 4399 const asection *sym_sec, in ppc_get_stub_entry() argument 4424 stub_name = ppc_stub_name (id_sec, sym_sec, h, rel); in ppc_get_stub_entry() 7389 asection *sym_sec; in adjust_opd_syms() local 7403 sym_sec = eh->elf.root.u.def.section; in adjust_opd_syms() 7404 opd = get_opd_info (sym_sec); in adjust_opd_syms() 7411 asection *dsec = ppc64_elf_tdata (sym_sec->owner)->deleted_section; in adjust_opd_syms() 7414 for (dsec = sym_sec->owner->sections; dsec; dsec = dsec->next) in adjust_opd_syms() 7417 ppc64_elf_tdata (sym_sec->owner)->deleted_section = dsec; in adjust_opd_syms() [all …]
|
D | elf32-metag.c | 1075 const asection *sym_sec, in metag_stub_name() argument 1102 sym_sec->id & 0xffffffff, in metag_stub_name() 1115 const asection *sym_sec, in metag_get_stub_entry() argument 1140 stub_name = metag_stub_name (id_sec, sym_sec, hh, rel); in metag_get_stub_entry() 1235 asection *sym_sec) in metag_final_link_relocate() argument 1278 if (sym_sec == NULL) in metag_final_link_relocate() 1281 hsh = metag_get_stub_entry (input_section, sym_sec, in metag_final_link_relocate() 4058 asection *sym_sec; in elf_metag_size_stubs() local 4084 sym_sec = NULL; in elf_metag_size_stubs() 4102 sym_sec = hdr->bfd_section; in elf_metag_size_stubs() [all …]
|
D | elf32-arm.c | 3636 asection *sym_sec, in arm_type_of_stub() argument 3781 if (sym_sec != NULL in arm_type_of_stub() 3782 && sym_sec->owner != NULL in arm_type_of_stub() 3783 && !INTERWORK_FLAG (sym_sec->owner)) in arm_type_of_stub() 3788 sym_sec->owner, input_bfd, name); in arm_type_of_stub() 3828 if (sym_sec != NULL in arm_type_of_stub() 3829 && sym_sec->owner != NULL in arm_type_of_stub() 3830 && !INTERWORK_FLAG (sym_sec->owner)) in arm_type_of_stub() 3835 sym_sec->owner, input_bfd, name); in arm_type_of_stub() 3896 const asection *sym_sec, in elf32_arm_stub_name() argument [all …]
|
D | elfnn-ia64.c | 3828 asection *sym_sec; in elfNN_ia64_relocate_section() local 3848 sym_sec = NULL; in elfNN_ia64_relocate_section() 3856 sym_sec = local_sections[r_symndx]; in elfNN_ia64_relocate_section() 3857 msec = sym_sec; in elfNN_ia64_relocate_section() 3860 && (sym_sec->flags & SEC_MERGE) != 0 in elfNN_ia64_relocate_section() 3862 && sym_sec->sec_info_type == SEC_INFO_TYPE_MERGE) in elfNN_ia64_relocate_section() 3876 msec = sym_sec; in elfNN_ia64_relocate_section() 3886 - sym_sec->output_section->vma in elfNN_ia64_relocate_section() 3887 - sym_sec->output_offset; in elfNN_ia64_relocate_section() 3911 h, sym_sec, value, in elfNN_ia64_relocate_section() [all …]
|
D | elf64-ia64-vms.c | 3420 asection *sym_sec; in elf64_ia64_relocate_section() local 3440 sym_sec = NULL; in elf64_ia64_relocate_section() 3448 sym_sec = local_sections[r_symndx]; in elf64_ia64_relocate_section() 3449 msec = sym_sec; in elf64_ia64_relocate_section() 3452 && (sym_sec->flags & SEC_MERGE) != 0 in elf64_ia64_relocate_section() 3454 && sym_sec->sec_info_type == SEC_INFO_TYPE_MERGE) in elf64_ia64_relocate_section() 3468 msec = sym_sec; in elf64_ia64_relocate_section() 3478 - sym_sec->output_section->vma in elf64_ia64_relocate_section() 3479 - sym_sec->output_offset; in elf64_ia64_relocate_section() 3503 h, sym_sec, value, in elf64_ia64_relocate_section() [all …]
|
D | elfnn-aarch64.c | 2231 const asection *sym_sec, in elfNN_aarch64_stub_name() argument 2255 (unsigned int) sym_sec->id, in elfNN_aarch64_stub_name() 2268 const asection *sym_sec, in elfNN_aarch64_get_stub_entry() argument 2297 stub_name = elfNN_aarch64_stub_name (id_sec, sym_sec, h, rel); in elfNN_aarch64_get_stub_entry() 3536 asection *sym_sec; in elfNN_aarch64_size_stubs() local 3566 sym_sec = NULL; in elfNN_aarch64_size_stubs() 3592 sym_sec = hdr->bfd_section; in elfNN_aarch64_size_stubs() 3593 if (!sym_sec) in elfNN_aarch64_size_stubs() 3601 + sym_sec->output_offset in elfNN_aarch64_size_stubs() 3602 + sym_sec->output_section->vma); in elfNN_aarch64_size_stubs() [all …]
|
D | elf32-h8300.c | 343 asection *sym_sec ATTRIBUTE_UNUSED, in elf32_h8_final_link_relocate() 790 asection *sym_sec; in elf32_h8_relax_section() local 793 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in elf32_h8_relax_section() 797 if (sym_sec) in elf32_h8_relax_section() 798 symval += sym_sec->output_section->vma in elf32_h8_relax_section() 799 + sym_sec->output_offset; in elf32_h8_relax_section()
|
D | elf32-m68hc1x.c | 442 asection *sym_sec; in elf32_m68hc11_size_stubs() local 469 sym_sec = NULL; in elf32_m68hc11_size_stubs() 473 sym_sec = hdr->bfd_section; in elf32_m68hc11_size_stubs() 515 sym_sec = hash->root.u.def.section; in elf32_m68hc11_size_stubs() 543 stub_entry->target_section = sym_sec; in elf32_m68hc11_size_stubs()
|
D | elf64-mmix.c | 2673 asection *sym_sec; in mmix_elf_relax_section() local 2689 sym_sec = bfd_und_section_ptr; in mmix_elf_relax_section() 2691 sym_sec = bfd_abs_section_ptr; in mmix_elf_relax_section() 2693 sym_sec = bfd_com_section_ptr; in mmix_elf_relax_section() 2695 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in mmix_elf_relax_section() 2697 + sym_sec->output_section->vma in mmix_elf_relax_section() 2698 + sym_sec->output_offset); in mmix_elf_relax_section()
|
D | elf-eh-frame.c | 1060 asection *sym_sec; in find_merged_cie() local 1063 sym_sec = bfd_section_from_elf_index (abfd, sym->st_shndx); in find_merged_cie() 1064 if (sym_sec == NULL) in find_merged_cie() 1067 if (sym_sec->kept_section != NULL) in find_merged_cie() 1068 sym_sec = sym_sec->kept_section; in find_merged_cie() 1069 if (sym_sec->output_section == NULL) in find_merged_cie()
|
D | elf32-nios2.c | 1207 const asection *sym_sec, in nios2_stub_name() argument 1238 sym_sec->id & 0xffffffff, in nios2_stub_name() 1250 const asection *sym_sec, in nios2_get_stub_entry() argument 1281 stub_name = nios2_stub_name (id_sec, sym_sec, hh, rel, stub_type); in nios2_get_stub_entry() 1833 asection *sym_sec; in nios2_elf32_size_stubs() local 1858 sym_sec = NULL; in nios2_elf32_size_stubs() 1876 sym_sec = hdr->bfd_section; in nios2_elf32_size_stubs() 1878 + sym_sec->output_offset in nios2_elf32_size_stubs() 1879 + sym_sec->output_section->vma); in nios2_elf32_size_stubs() 1899 sym_sec = hh->root.root.u.def.section; in nios2_elf32_size_stubs() [all …]
|
D | elf32-cr16.c | 1830 asection *sym_sec; in elf32_cr16_relax_section() local 1834 sym_sec = bfd_und_section_ptr; in elf32_cr16_relax_section() 1836 sym_sec = bfd_abs_section_ptr; in elf32_cr16_relax_section() 1838 sym_sec = bfd_com_section_ptr; in elf32_cr16_relax_section() 1840 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in elf32_cr16_relax_section() 1842 + sym_sec->output_section->vma in elf32_cr16_relax_section() 1843 + sym_sec->output_offset); in elf32_cr16_relax_section()
|
D | elf32-microblaze.c | 733 struct sym_cache sym_sec; member 1748 asection *sym_sec; in microblaze_elf_relax_section() local 1752 sym_sec = bfd_und_section_ptr; in microblaze_elf_relax_section() 1754 sym_sec = bfd_abs_section_ptr; in microblaze_elf_relax_section() 1756 sym_sec = bfd_com_section_ptr; in microblaze_elf_relax_section() 1758 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in microblaze_elf_relax_section() 1760 symval = _bfd_elf_rela_local_sym (abfd, isym, &sym_sec, irel); in microblaze_elf_relax_section() 2499 isym = bfd_sym_from_r_symndx (&htab->sym_sec, in microblaze_elf_check_relocs()
|
D | elf32-nds32.c | 6701 asection *sym_sec; in calculate_offset() local 6712 sym_sec = bfd_und_section_ptr; in calculate_offset() 6714 sym_sec = bfd_abs_section_ptr; in calculate_offset() 6716 sym_sec = bfd_com_section_ptr; in calculate_offset() 6718 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in calculate_offset() 6719 symval = isym->st_value + sym_sec->output_section->vma in calculate_offset() 6720 + sym_sec->output_offset; in calculate_offset() 6745 sym_sec = h->root.u.def.section; in calculate_offset() 6746 symval = _bfd_merged_section_offset (abfd, &sym_sec, in calculate_offset() 6747 elf_section_data (sym_sec)->sec_info, in calculate_offset() [all …]
|