Home
last modified time | relevance | path

Searched refs:sym_sec (Results 1 – 25 of 107) sorted by relevance

12345

/netbsd/src/external/gpl3/binutils/dist/bfd/
Delf32-ft32.c548 asection *sym_sec; in ft32_reloc_shortable() local
551 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in ft32_reloc_shortable()
555 if (sym_sec) in ft32_reloc_shortable()
556 symval += sym_sec->output_section->vma in ft32_reloc_shortable()
557 + sym_sec->output_offset; in ft32_reloc_shortable()
848 asection *sym_sec; in elf32_ft32_relax_delete_bytes() local
851 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in elf32_ft32_relax_delete_bytes()
855 if (sym_sec == sec) in elf32_ft32_relax_delete_bytes()
857 symval += sym_sec->output_section->vma in elf32_ft32_relax_delete_bytes()
858 + sym_sec->output_offset; in elf32_ft32_relax_delete_bytes()
[all …]
Delf32-hppa.c459 const asection *sym_sec, in hppa_stub_name() argument
483 sym_sec->id & 0xffffffff, in hppa_stub_name()
495 const asection *sym_sec, in hppa_get_stub_entry() argument
522 stub_name = hppa_stub_name (id_sec, sym_sec, hh, rela); in hppa_get_stub_entry()
2719 asection *sym_sec; in elf32_hppa_size_stubs() local
2746 sym_sec = NULL; in elf32_hppa_size_stubs()
2764 sym_sec = hdr->bfd_section; in elf32_hppa_size_stubs()
2766 + sym_sec->output_offset in elf32_hppa_size_stubs()
2767 + sym_sec->output_section->vma); in elf32_hppa_size_stubs()
2785 sym_sec = hh->eh.root.u.def.section; in elf32_hppa_size_stubs()
[all …]
Delf32-ip2k.c282 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()
658 asection *sym_sec; in adjust_all_relocations() local
[all …]
Delf32-m68hc11.c741 asection *sym_sec; in m68hc11_elf_relax_section() local
837 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in m68hc11_elf_relax_section()
839 + sym_sec->output_section->vma in m68hc11_elf_relax_section()
840 + sym_sec->output_offset); in m68hc11_elf_relax_section()
864 sym_sec = h->root.u.def.section; in m68hc11_elf_relax_section()
866 + sym_sec->output_section->vma in m68hc11_elf_relax_section()
867 + sym_sec->output_offset); in m68hc11_elf_relax_section()
902 if (*again && sym_sec != sec in m68hc11_elf_relax_section()
903 && sym_sec->output_section == sec->output_section) in m68hc11_elf_relax_section()
Delf32-pru.c1226 asection *sym_sec; in pru_elf_relax_delete_bytes() local
1229 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in pru_elf_relax_delete_bytes()
1233 if (sym_sec == sec) in pru_elf_relax_delete_bytes()
1235 symval += sym_sec->output_section->vma in pru_elf_relax_delete_bytes()
1236 + sym_sec->output_offset; in pru_elf_relax_delete_bytes()
1405 asection *sym_sec; in pru_elf32_relax_section() local
1409 sym_sec = bfd_und_section_ptr; in pru_elf32_relax_section()
1411 sym_sec = bfd_abs_section_ptr; in pru_elf32_relax_section()
1413 sym_sec = bfd_com_section_ptr; in pru_elf32_relax_section()
1415 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in pru_elf32_relax_section()
[all …]
Delf64-hppa.c3134 asection *sym_sec, in elf_hppa_final_link_relocate() argument
3180 if (sym_sec == NULL || sym_sec->output_section == NULL) in elf_hppa_final_link_relocate()
3214 if (sym_sec == NULL || sym_sec->output_section == NULL) in elf_hppa_final_link_relocate()
3603 if (sym_sec == NULL || sym_sec->output_section == NULL) in elf_hppa_final_link_relocate()
3622 if (sym_sec == NULL || sym_sec->output_section == NULL) in elf_hppa_final_link_relocate()
3691 if (sym_sec && sym_sec->output_section) in elf_hppa_final_link_relocate()
3692 value -= sym_sec->output_section->vma; in elf_hppa_final_link_relocate()
3713 if (sym_sec->flags & SEC_CODE) in elf_hppa_final_link_relocate()
3767 asection *sym_sec; in elf64_hppa_relocate_section() local
3785 sym_sec = NULL; in elf64_hppa_relocate_section()
[all …]
Delf-m10300.c1417 asection *sym_sec ATTRIBUTE_UNUSED, in mn10300_elf_final_link_relocate()
1523 && sym_sec != bfd_abs_section_ptr in mn10300_elf_final_link_relocate()
2689 asection *sym_sec = NULL; in mn10300_elf_relax_section() local
2743 sym_sec = NULL; in mn10300_elf_relax_section()
2754 sym_sec = bfd_und_section_ptr; in mn10300_elf_relax_section()
2756 sym_sec = bfd_abs_section_ptr; in mn10300_elf_relax_section()
2758 sym_sec = bfd_com_section_ptr; in mn10300_elf_relax_section()
2760 sym_sec in mn10300_elf_relax_section()
2782 sprintf (new_name, "%s_%08x", sym_name, sym_sec->id); in mn10300_elf_relax_section()
2870 sym_sec = bfd_und_section_ptr; in mn10300_elf_relax_section()
[all …]
Delf32-avr.c2080 asection *sym_sec; in elf32_avr_relax_delete_bytes() local
2083 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in elf32_avr_relax_delete_bytes()
2087 if (sym_sec == sec) in elf32_avr_relax_delete_bytes()
2095 symval += sym_sec->output_section->vma in elf32_avr_relax_delete_bytes()
2096 + sym_sec->output_offset; in elf32_avr_relax_delete_bytes()
2587 asection *sym_sec; in elf32_avr_relax_section() local
2590 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in elf32_avr_relax_section()
2594 if (sym_sec) in elf32_avr_relax_section()
2595 symval += sym_sec->output_section->vma in elf32_avr_relax_section()
2596 + sym_sec->output_offset; in elf32_avr_relax_section()
[all …]
Delf32-v850.c1963 asection *sym_sec, in v850_elf_final_link_relocate() argument
2049 if (sym_sec == NULL) in v850_elf_final_link_relocate()
2052 value -= sym_sec->output_section->vma; in v850_elf_final_link_relocate()
2063 if (sym_sec == NULL) in v850_elf_final_link_relocate()
2076 value -= sym_sec->output_section->vma; in v850_elf_final_link_relocate()
2077 value -= (gp - sym_sec->output_section->vma); in v850_elf_final_link_relocate()
2129 if (sym_sec == NULL) in v850_elf_final_link_relocate()
2142 value -= sym_sec->output_section->vma; in v850_elf_final_link_relocate()
2143 value -= (ctbp - sym_sec->output_section->vma); in v850_elf_final_link_relocate()
3699 asection *sym_sec; in v850_elf_relax_section() local
[all …]
Delfnn-riscv.c4121 asection *sym_sec; member
4181 unsigned hi_sym, asection *sym_sec, in riscv_record_pcgp_hi_reloc() argument
4191 new->sym_sec = sym_sec; in riscv_record_pcgp_hi_reloc()
4265 if (h->sym_sec == deleted_sec in riscv_update_pcgp_relocs()
4502 _bfd_riscv_relax_call (bfd *abfd, asection *sec, asection *sym_sec, in _bfd_riscv_relax_call() argument
4524 if (sym_sec->output_section == sec->output_section in _bfd_riscv_relax_call()
4525 && sym_sec->output_section != bfd_abs_section_ptr) in _bfd_riscv_relax_call()
4526 max_alignment = (bfd_vma) 1 << sym_sec->output_section->alignment_power; in _bfd_riscv_relax_call()
4608 asection *sym_sec, in _bfd_riscv_relax_lui() argument
4635 if (h->u.def.section->output_section == sym_sec->output_section in _bfd_riscv_relax_lui()
[all …]
Delfnn-kvx.c686 asection *sym_sec, in kvx_type_of_stub() argument
696 && (sym_sec == input_sec)) in kvx_type_of_stub()
724 const asection *sym_sec, in elfNN_kvx_stub_name() argument
748 (unsigned int) sym_sec->id, in elfNN_kvx_stub_name()
777 const asection *sym_sec, in elfNN_kvx_get_stub_entry() argument
806 stub_name = elfNN_kvx_stub_name (id_sec, sym_sec, h, rel); in elfNN_kvx_get_stub_entry()
1359 asection *sym_sec; in elfNN_kvx_size_stubs() local
1389 sym_sec = NULL; in elfNN_kvx_size_stubs()
1415 sym_sec = hdr->bfd_section; in elfNN_kvx_size_stubs()
1416 if (!sym_sec) in elfNN_kvx_size_stubs()
[all …]
/netbsd/src/external/gpl3/gdb/dist/bfd/
Delf32-ft32.c548 asection *sym_sec; in ft32_reloc_shortable() local
551 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in ft32_reloc_shortable()
555 if (sym_sec) in ft32_reloc_shortable()
556 symval += sym_sec->output_section->vma in ft32_reloc_shortable()
557 + sym_sec->output_offset; in ft32_reloc_shortable()
848 asection *sym_sec; in elf32_ft32_relax_delete_bytes() local
851 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in elf32_ft32_relax_delete_bytes()
855 if (sym_sec == sec) in elf32_ft32_relax_delete_bytes()
857 symval += sym_sec->output_section->vma in elf32_ft32_relax_delete_bytes()
858 + sym_sec->output_offset; in elf32_ft32_relax_delete_bytes()
[all …]
Delf32-hppa.c459 const asection *sym_sec, in hppa_stub_name() argument
483 sym_sec->id & 0xffffffff, in hppa_stub_name()
495 const asection *sym_sec, in hppa_get_stub_entry() argument
522 stub_name = hppa_stub_name (id_sec, sym_sec, hh, rela); in hppa_get_stub_entry()
2719 asection *sym_sec; in elf32_hppa_size_stubs() local
2746 sym_sec = NULL; in elf32_hppa_size_stubs()
2764 sym_sec = hdr->bfd_section; in elf32_hppa_size_stubs()
2766 + sym_sec->output_offset in elf32_hppa_size_stubs()
2767 + sym_sec->output_section->vma); in elf32_hppa_size_stubs()
2785 sym_sec = hh->eh.root.u.def.section; in elf32_hppa_size_stubs()
[all …]
Delf32-ip2k.c282 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()
658 asection *sym_sec; in adjust_all_relocations() local
[all …]
Delf32-m68hc11.c741 asection *sym_sec; in m68hc11_elf_relax_section() local
837 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in m68hc11_elf_relax_section()
839 + sym_sec->output_section->vma in m68hc11_elf_relax_section()
840 + sym_sec->output_offset); in m68hc11_elf_relax_section()
864 sym_sec = h->root.u.def.section; in m68hc11_elf_relax_section()
866 + sym_sec->output_section->vma in m68hc11_elf_relax_section()
867 + sym_sec->output_offset); in m68hc11_elf_relax_section()
902 if (*again && sym_sec != sec in m68hc11_elf_relax_section()
903 && sym_sec->output_section == sec->output_section) in m68hc11_elf_relax_section()
Delf32-pru.c1226 asection *sym_sec; in pru_elf_relax_delete_bytes() local
1229 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in pru_elf_relax_delete_bytes()
1233 if (sym_sec == sec) in pru_elf_relax_delete_bytes()
1235 symval += sym_sec->output_section->vma in pru_elf_relax_delete_bytes()
1236 + sym_sec->output_offset; in pru_elf_relax_delete_bytes()
1405 asection *sym_sec; in pru_elf32_relax_section() local
1409 sym_sec = bfd_und_section_ptr; in pru_elf32_relax_section()
1411 sym_sec = bfd_abs_section_ptr; in pru_elf32_relax_section()
1413 sym_sec = bfd_com_section_ptr; in pru_elf32_relax_section()
1415 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in pru_elf32_relax_section()
[all …]
Delf64-hppa.c3138 asection *sym_sec, in elf_hppa_final_link_relocate() argument
3184 if (sym_sec == NULL || sym_sec->output_section == NULL) in elf_hppa_final_link_relocate()
3218 if (sym_sec == NULL || sym_sec->output_section == NULL) in elf_hppa_final_link_relocate()
3607 if (sym_sec == NULL || sym_sec->output_section == NULL) in elf_hppa_final_link_relocate()
3626 if (sym_sec == NULL || sym_sec->output_section == NULL) in elf_hppa_final_link_relocate()
3695 if (sym_sec && sym_sec->output_section) in elf_hppa_final_link_relocate()
3696 value -= sym_sec->output_section->vma; in elf_hppa_final_link_relocate()
3717 if (sym_sec->flags & SEC_CODE) in elf_hppa_final_link_relocate()
3771 asection *sym_sec; in elf64_hppa_relocate_section() local
3789 sym_sec = NULL; in elf64_hppa_relocate_section()
[all …]
Delf-m10300.c1417 asection *sym_sec ATTRIBUTE_UNUSED, in mn10300_elf_final_link_relocate()
1523 && sym_sec != bfd_abs_section_ptr in mn10300_elf_final_link_relocate()
2689 asection *sym_sec = NULL; in mn10300_elf_relax_section() local
2743 sym_sec = NULL; in mn10300_elf_relax_section()
2754 sym_sec = bfd_und_section_ptr; in mn10300_elf_relax_section()
2756 sym_sec = bfd_abs_section_ptr; in mn10300_elf_relax_section()
2758 sym_sec = bfd_com_section_ptr; in mn10300_elf_relax_section()
2760 sym_sec in mn10300_elf_relax_section()
2782 sprintf (new_name, "%s_%08x", sym_name, sym_sec->id); in mn10300_elf_relax_section()
2870 sym_sec = bfd_und_section_ptr; in mn10300_elf_relax_section()
[all …]
Delf32-avr.c2080 asection *sym_sec; in elf32_avr_relax_delete_bytes() local
2083 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in elf32_avr_relax_delete_bytes()
2087 if (sym_sec == sec) in elf32_avr_relax_delete_bytes()
2095 symval += sym_sec->output_section->vma in elf32_avr_relax_delete_bytes()
2096 + sym_sec->output_offset; in elf32_avr_relax_delete_bytes()
2587 asection *sym_sec; in elf32_avr_relax_section() local
2590 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in elf32_avr_relax_section()
2594 if (sym_sec) in elf32_avr_relax_section()
2595 symval += sym_sec->output_section->vma in elf32_avr_relax_section()
2596 + sym_sec->output_offset; in elf32_avr_relax_section()
[all …]
Delf32-v850.c1963 asection *sym_sec, in v850_elf_final_link_relocate() argument
2049 if (sym_sec == NULL) in v850_elf_final_link_relocate()
2052 value -= sym_sec->output_section->vma; in v850_elf_final_link_relocate()
2063 if (sym_sec == NULL) in v850_elf_final_link_relocate()
2076 value -= sym_sec->output_section->vma; in v850_elf_final_link_relocate()
2077 value -= (gp - sym_sec->output_section->vma); in v850_elf_final_link_relocate()
2129 if (sym_sec == NULL) in v850_elf_final_link_relocate()
2142 value -= sym_sec->output_section->vma; in v850_elf_final_link_relocate()
2143 value -= (ctbp - sym_sec->output_section->vma); in v850_elf_final_link_relocate()
3699 asection *sym_sec; in v850_elf_relax_section() local
[all …]
Delfnn-kvx.c686 asection *sym_sec, in kvx_type_of_stub() argument
696 && (sym_sec == input_sec)) in kvx_type_of_stub()
724 const asection *sym_sec, in elfNN_kvx_stub_name() argument
748 (unsigned int) sym_sec->id, in elfNN_kvx_stub_name()
777 const asection *sym_sec, in elfNN_kvx_get_stub_entry() argument
806 stub_name = elfNN_kvx_stub_name (id_sec, sym_sec, h, rel); in elfNN_kvx_get_stub_entry()
1359 asection *sym_sec; in elfNN_kvx_size_stubs() local
1389 sym_sec = NULL; in elfNN_kvx_size_stubs()
1415 sym_sec = hdr->bfd_section; in elfNN_kvx_size_stubs()
1416 if (!sym_sec) in elfNN_kvx_size_stubs()
[all …]
Delfnn-riscv.c4231 asection *sym_sec; member
4291 unsigned hi_sym, asection *sym_sec, in riscv_record_pcgp_hi_reloc() argument
4301 new->sym_sec = sym_sec; in riscv_record_pcgp_hi_reloc()
4375 if (h->sym_sec == deleted_sec in riscv_update_pcgp_relocs()
4612 _bfd_riscv_relax_call (bfd *abfd, asection *sec, asection *sym_sec, in _bfd_riscv_relax_call() argument
4634 if (sym_sec->output_section == sec->output_section in _bfd_riscv_relax_call()
4635 && sym_sec->output_section != bfd_abs_section_ptr) in _bfd_riscv_relax_call()
4636 max_alignment = (bfd_vma) 1 << sym_sec->output_section->alignment_power; in _bfd_riscv_relax_call()
4718 asection *sym_sec, in _bfd_riscv_relax_lui() argument
4745 if (h->u.def.section->output_section == sym_sec->output_section in _bfd_riscv_relax_lui()
[all …]
Delf32-spu.c947 asection *sym_sec, in needs_ovl_stub() argument
960 if (sym_sec == NULL in needs_ovl_stub()
961 || sym_sec->output_section == bfd_abs_section_ptr in needs_ovl_stub()
962 || spu_elf_section_data (sym_sec->output_section) == NULL) in needs_ovl_stub()
1028 sym_sec); in needs_ovl_stub()
1033 sym_name, sym_sec->owner); in needs_ovl_stub()
1042 && (sym_sec->flags & SEC_CODE) == 0)) in needs_ovl_stub()
1046 if (spu_elf_section_data (sym_sec->output_section)->u.o.ovl_index == 0 in needs_ovl_stub()
1052 if (spu_elf_section_data (sym_sec->output_section)->u.o.ovl_index in needs_ovl_stub()
1495 asection *sym_sec; in allocate_spuear_stubs() local
[all …]
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dmipsread.c198 gdb::byte_vector sym_sec (bfd_section_size (si.sym_sect)); in read_alphacoff_dynamic_symtab()
203 if (!bfd_get_section_contents (abfd, si.sym_sect, sym_sec.data (), in read_alphacoff_dynamic_symtab()
204 (file_ptr) 0, sym_sec.size ())) in read_alphacoff_dynamic_symtab()
247 sym_count = sym_sec.size () / sizeof (Elfalpha_External_Sym); in read_alphacoff_dynamic_symtab()
251 for (i = 1, x_symp = (Elfalpha_External_Sym *) sym_sec.data () + 1; in read_alphacoff_dynamic_symtab()
/netbsd/src/external/gpl3/binutils/dist/gprof/
Dcorefile.c653 asection *sym_sec; in core_create_function_syms() local
680 sym_sec = core_syms[i]->section; in core_create_function_syms()
682 if (sym_sec) in core_create_function_syms()
683 symtab.limit->addr += bfd_section_vma (sym_sec); in core_create_function_syms()
741 if (sym_sec) in core_create_function_syms()
742 max_vma = MAX (bfd_section_vma (sym_sec) in core_create_function_syms()
743 + bfd_section_size (sym_sec) - 1, in core_create_function_syms()

12345