/netbsd/external/gpl3/binutils/dist/bfd/ |
H A D | elf32-ft32.c | 548 asection *sym_sec; in ft32_reloc_shortable() local 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 855 if (sym_sec == sec) in elf32_ft32_relax_delete_bytes() 858 + sym_sec->output_offset; in elf32_ft32_relax_delete_bytes() 1006 asection *sym_sec; in elf32_ft32_relax_is_branch_target() local 1013 if (sym_sec == sec) in elf32_ft32_relax_is_branch_target() 1015 symval += sym_sec->output_section->vma in elf32_ft32_relax_is_branch_target() [all …]
|
H A D | elf32-hppa.c | 459 const asection *sym_sec, in hppa_stub_name() argument 483 sym_sec->id & 0xffffffff, in hppa_stub_name() 2719 asection *sym_sec; in elf32_hppa_size_stubs() local 2746 sym_sec = NULL; in elf32_hppa_size_stubs() 3105 asection *sym_sec, in final_link_relocate() argument 3167 if (sym_sec == NULL in final_link_relocate() 3260 if (sym_sec == NULL || (sym_sec->flags & SEC_CODE) != 0) in final_link_relocate() 3370 if (sym_sec == NULL) in final_link_relocate() 3477 asection *sym_sec; in elf32_hppa_relocate_section() local 3497 sym_sec = NULL; in elf32_hppa_relocate_section() [all …]
|
H A 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 609 bfd_vma symval = BASEADDR (sym_sec) + isym->st_value in adjust_all_relocations() 658 asection *sym_sec; in adjust_all_relocations() local 664 if (sym_sec == sec) in adjust_all_relocations() [all …]
|
H A D | elf32-m68hc11.c | 740 asection *sym_sec; in m68hc11_elf_relax_section() local 836 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in m68hc11_elf_relax_section() 838 + sym_sec->output_section->vma in m68hc11_elf_relax_section() 839 + sym_sec->output_offset); in m68hc11_elf_relax_section() 863 sym_sec = h->root.u.def.section; in m68hc11_elf_relax_section() 865 + sym_sec->output_section->vma in m68hc11_elf_relax_section() 866 + sym_sec->output_offset); in m68hc11_elf_relax_section() 901 if (*again && sym_sec != sec in m68hc11_elf_relax_section() 902 && sym_sec->output_section == sec->output_section) in m68hc11_elf_relax_section()
|
H A D | elf32-pru.c | 1226 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() 1403 asection *sym_sec; in pru_elf32_relax_section() local 1407 sym_sec = bfd_und_section_ptr; in pru_elf32_relax_section() 1409 sym_sec = bfd_abs_section_ptr; in pru_elf32_relax_section() 1411 sym_sec = bfd_com_section_ptr; in pru_elf32_relax_section() 1413 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in pru_elf32_relax_section() [all …]
|
H A D | elf64-hppa.c | 3134 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() 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() 3819 if (sym_sec != NULL in elf64_hppa_relocate_section() [all …]
|
H A D | elf-m10300.c | 1523 && sym_sec != bfd_abs_section_ptr in mn10300_elf_final_link_relocate() 2689 asection *sym_sec = NULL; in mn10300_elf_relax_section() local 2742 sym_sec = NULL; in mn10300_elf_relax_section() 2759 sym_sec in mn10300_elf_relax_section() 2875 sym_sec in mn10300_elf_relax_section() 3070 asection *sym_sec = NULL; in mn10300_elf_relax_section() local 3086 sym_sec in mn10300_elf_relax_section() 3315 asection *sym_sec = NULL; in mn10300_elf_relax_section() local 3361 sym_sec = bfd_und_section_ptr; in mn10300_elf_relax_section() 3363 sym_sec = bfd_abs_section_ptr; in mn10300_elf_relax_section() [all …]
|
H A D | elf32-avr.c | 2078 asection *sym_sec; in elf32_avr_relax_delete_bytes() local 2085 if (sym_sec == sec) in elf32_avr_relax_delete_bytes() 2584 asection *sym_sec; in elf32_avr_relax_section() local 2591 if (sym_sec) in elf32_avr_relax_section() 2593 + sym_sec->output_offset; in elf32_avr_relax_section() 3023 asection *sym_sec; in elf32_avr_relax_section() local 3035 if (sym_sec) in elf32_avr_relax_section() 3689 asection *sym_sec; in elf32_avr_size_stubs() local 3707 sym_sec = NULL; in elf32_avr_size_stubs() 3727 + sym_sec->output_offset in elf32_avr_size_stubs() [all …]
|
/netbsd/external/gpl3/gdb/dist/bfd/ |
H A D | elf32-ft32.c | 550 asection *sym_sec; in ft32_reloc_shortable() local 557 if (sym_sec) in ft32_reloc_shortable() 558 symval += sym_sec->output_section->vma in ft32_reloc_shortable() 559 + sym_sec->output_offset; in ft32_reloc_shortable() 850 asection *sym_sec; in elf32_ft32_relax_delete_bytes() local 857 if (sym_sec == sec) in elf32_ft32_relax_delete_bytes() 860 + sym_sec->output_offset; in elf32_ft32_relax_delete_bytes() 1008 asection *sym_sec; in elf32_ft32_relax_is_branch_target() local 1015 if (sym_sec == sec) in elf32_ft32_relax_is_branch_target() 1017 symval += sym_sec->output_section->vma in elf32_ft32_relax_is_branch_target() [all …]
|
H A D | elf32-hppa.c | 459 const asection *sym_sec, in hppa_stub_name() argument 483 sym_sec->id & 0xffffffff, in hppa_stub_name() 2721 asection *sym_sec; in elf32_hppa_size_stubs() local 2748 sym_sec = NULL; in elf32_hppa_size_stubs() 3107 asection *sym_sec, in final_link_relocate() argument 3169 if (sym_sec == NULL in final_link_relocate() 3262 if (sym_sec == NULL || (sym_sec->flags & SEC_CODE) != 0) in final_link_relocate() 3372 if (sym_sec == NULL) in final_link_relocate() 3479 asection *sym_sec; in elf32_hppa_relocate_section() local 3499 sym_sec = NULL; in elf32_hppa_relocate_section() [all …]
|
H A 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 609 bfd_vma symval = BASEADDR (sym_sec) + isym->st_value in adjust_all_relocations() 658 asection *sym_sec; in adjust_all_relocations() local 664 if (sym_sec == sec) in adjust_all_relocations() [all …]
|
H A D | elfnn-riscv.c | 3324 asection *sym_sec; member 3394 new->sym_sec = sym_sec; in riscv_record_pcgp_hi_reloc() 3550 asection *sym_sec, in _bfd_riscv_relax_lui() argument 3704 asection *sym_sec, in _bfd_riscv_relax_align() argument 3763 asection *sym_sec, in _bfd_riscv_relax_pc() argument 3802 sym_sec = hi_reloc.sym_sec; in _bfd_riscv_relax_pc() 3895 sym_sec, in _bfd_riscv_relax_pc() 3984 asection *sym_sec; in _bfd_riscv_relax_section() local 4066 if (sec_addr (sym_sec) == 0) in _bfd_riscv_relax_section() 4109 sym_sec = htab->elf.splt; in _bfd_riscv_relax_section() [all …]
|
H A D | elf32-m68hc11.c | 740 asection *sym_sec; in m68hc11_elf_relax_section() local 836 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in m68hc11_elf_relax_section() 838 + sym_sec->output_section->vma in m68hc11_elf_relax_section() 839 + sym_sec->output_offset); in m68hc11_elf_relax_section() 863 sym_sec = h->root.u.def.section; in m68hc11_elf_relax_section() 865 + sym_sec->output_section->vma in m68hc11_elf_relax_section() 866 + sym_sec->output_offset); in m68hc11_elf_relax_section() 901 if (*again && sym_sec != sec in m68hc11_elf_relax_section() 902 && sym_sec->output_section == sec->output_section) in m68hc11_elf_relax_section()
|
/netbsd/external/gpl3/binutils.old/dist/bfd/ |
H A D | elf32-ft32.c | 550 asection *sym_sec; in ft32_reloc_shortable() local 557 if (sym_sec) in ft32_reloc_shortable() 558 symval += sym_sec->output_section->vma in ft32_reloc_shortable() 559 + sym_sec->output_offset; in ft32_reloc_shortable() 850 asection *sym_sec; in elf32_ft32_relax_delete_bytes() local 857 if (sym_sec == sec) in elf32_ft32_relax_delete_bytes() 860 + sym_sec->output_offset; in elf32_ft32_relax_delete_bytes() 1008 asection *sym_sec; in elf32_ft32_relax_is_branch_target() local 1015 if (sym_sec == sec) in elf32_ft32_relax_is_branch_target() 1017 symval += sym_sec->output_section->vma in elf32_ft32_relax_is_branch_target() [all …]
|
H A D | elf32-hppa.c | 465 const asection *sym_sec, in hppa_stub_name() argument 489 sym_sec->id & 0xffffffff, in hppa_stub_name() 2833 asection *sym_sec; in elf32_hppa_size_stubs() local 2860 sym_sec = NULL; in elf32_hppa_size_stubs() 3219 asection *sym_sec, in final_link_relocate() argument 3281 if (sym_sec == NULL in final_link_relocate() 3374 if (sym_sec == NULL || (sym_sec->flags & SEC_CODE) != 0) in final_link_relocate() 3484 if (sym_sec == NULL) in final_link_relocate() 3591 asection *sym_sec; in elf32_hppa_relocate_section() local 3611 sym_sec = NULL; in elf32_hppa_relocate_section() [all …]
|
H A 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 609 bfd_vma symval = BASEADDR (sym_sec) + isym->st_value in adjust_all_relocations() 659 asection *sym_sec; in adjust_all_relocations() local 665 if (sym_sec == sec) in adjust_all_relocations() [all …]
|
H A D | elfnn-riscv.c | 3351 asection *sym_sec; member 3421 new->sym_sec = sym_sec; in riscv_record_pcgp_hi_reloc() 3577 asection *sym_sec, in _bfd_riscv_relax_lui() argument 3731 asection *sym_sec, in _bfd_riscv_relax_align() argument 3790 asection *sym_sec, in _bfd_riscv_relax_pc() argument 3829 sym_sec = hi_reloc.sym_sec; in _bfd_riscv_relax_pc() 3922 sym_sec, in _bfd_riscv_relax_pc() 4011 asection *sym_sec; in _bfd_riscv_relax_section() local 4093 if (sec_addr (sym_sec) == 0) in _bfd_riscv_relax_section() 4136 sym_sec = htab->elf.splt; in _bfd_riscv_relax_section() [all …]
|
H A D | elf32-m68hc11.c | 732 asection *sym_sec; in m68hc11_elf_relax_section() local 828 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in m68hc11_elf_relax_section() 830 + sym_sec->output_section->vma in m68hc11_elf_relax_section() 831 + sym_sec->output_offset); in m68hc11_elf_relax_section() 855 sym_sec = h->root.u.def.section; in m68hc11_elf_relax_section() 857 + sym_sec->output_section->vma in m68hc11_elf_relax_section() 858 + sym_sec->output_offset); in m68hc11_elf_relax_section() 893 if (*again && sym_sec != sec in m68hc11_elf_relax_section() 894 && sym_sec->output_section == sec->output_section) in m68hc11_elf_relax_section()
|
/netbsd/external/gpl3/gdb.old/dist/bfd/ |
H A D | elf32-ft32.c | 550 asection *sym_sec; in ft32_reloc_shortable() local 557 if (sym_sec) in ft32_reloc_shortable() 558 symval += sym_sec->output_section->vma in ft32_reloc_shortable() 559 + sym_sec->output_offset; in ft32_reloc_shortable() 850 asection *sym_sec; in elf32_ft32_relax_delete_bytes() local 857 if (sym_sec == sec) in elf32_ft32_relax_delete_bytes() 860 + sym_sec->output_offset; in elf32_ft32_relax_delete_bytes() 1008 asection *sym_sec; in elf32_ft32_relax_is_branch_target() local 1015 if (sym_sec == sec) in elf32_ft32_relax_is_branch_target() 1017 symval += sym_sec->output_section->vma in elf32_ft32_relax_is_branch_target() [all …]
|
H A D | elf32-hppa.c | 459 const asection *sym_sec, in hppa_stub_name() argument 483 sym_sec->id & 0xffffffff, in hppa_stub_name() 2721 asection *sym_sec; in elf32_hppa_size_stubs() local 2748 sym_sec = NULL; in elf32_hppa_size_stubs() 3107 asection *sym_sec, in final_link_relocate() argument 3169 if (sym_sec == NULL in final_link_relocate() 3262 if (sym_sec == NULL || (sym_sec->flags & SEC_CODE) != 0) in final_link_relocate() 3372 if (sym_sec == NULL) in final_link_relocate() 3479 asection *sym_sec; in elf32_hppa_relocate_section() local 3499 sym_sec = NULL; in elf32_hppa_relocate_section() [all …]
|
H A 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 609 bfd_vma symval = BASEADDR (sym_sec) + isym->st_value in adjust_all_relocations() 658 asection *sym_sec; in adjust_all_relocations() local 664 if (sym_sec == sec) in adjust_all_relocations() [all …]
|
H A D | elfnn-riscv.c | 3324 asection *sym_sec; member 3394 new->sym_sec = sym_sec; in riscv_record_pcgp_hi_reloc() 3550 asection *sym_sec, in _bfd_riscv_relax_lui() argument 3704 asection *sym_sec, in _bfd_riscv_relax_align() argument 3763 asection *sym_sec, in _bfd_riscv_relax_pc() argument 3802 sym_sec = hi_reloc.sym_sec; in _bfd_riscv_relax_pc() 3895 sym_sec, in _bfd_riscv_relax_pc() 3984 asection *sym_sec; in _bfd_riscv_relax_section() local 4066 if (sec_addr (sym_sec) == 0) in _bfd_riscv_relax_section() 4109 sym_sec = htab->elf.splt; in _bfd_riscv_relax_section() [all …]
|
H A D | elf32-m68hc11.c | 740 asection *sym_sec; in m68hc11_elf_relax_section() local 836 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in m68hc11_elf_relax_section() 838 + sym_sec->output_section->vma in m68hc11_elf_relax_section() 839 + sym_sec->output_offset); in m68hc11_elf_relax_section() 863 sym_sec = h->root.u.def.section; in m68hc11_elf_relax_section() 865 + sym_sec->output_section->vma in m68hc11_elf_relax_section() 866 + sym_sec->output_offset); in m68hc11_elf_relax_section() 901 if (*again && sym_sec != sec in m68hc11_elf_relax_section() 902 && sym_sec->output_section == sec->output_section) in m68hc11_elf_relax_section()
|
/netbsd/external/gpl3/gdb/dist/gdb/ |
H A D | mipsread.c | 201 gdb::byte_vector sym_sec (bfd_section_size (si.sym_sect)); in read_alphacoff_dynamic_symtab() 206 if (!bfd_get_section_contents (abfd, si.sym_sect, sym_sec.data (), in read_alphacoff_dynamic_symtab() 207 (file_ptr) 0, sym_sec.size ())) in read_alphacoff_dynamic_symtab() 250 sym_count = sym_sec.size () / sizeof (Elfalpha_External_Sym); in read_alphacoff_dynamic_symtab() 254 for (i = 1, x_symp = (Elfalpha_External_Sym *) sym_sec.data () + 1; in read_alphacoff_dynamic_symtab()
|
/netbsd/external/gpl3/gdb.old/dist/gdb/ |
H A D | mipsread.c | 201 gdb::byte_vector sym_sec (bfd_section_size (si.sym_sect)); in read_alphacoff_dynamic_symtab() 206 if (!bfd_get_section_contents (abfd, si.sym_sect, sym_sec.data (), in read_alphacoff_dynamic_symtab() 207 (file_ptr) 0, sym_sec.size ())) in read_alphacoff_dynamic_symtab() 250 sym_count = sym_sec.size () / sizeof (Elfalpha_External_Sym); in read_alphacoff_dynamic_symtab() 254 for (i = 1, x_symp = (Elfalpha_External_Sym *) sym_sec.data () + 1; in read_alphacoff_dynamic_symtab()
|