/toolchain/binutils/binutils-2.25/gold/ |
D | object.h | 183 sym_xindex_to_shndx(Object* object, unsigned int symndx); 503 adjust_sym_shndx(unsigned int symndx, unsigned int shndx, bool* is_ordinary) in adjust_sym_shndx() argument 511 shndx = this->xindex_->sym_xindex_to_shndx(this, symndx); in adjust_sym_shndx() 775 get_incremental_reloc_base(unsigned int symndx) const in get_incremental_reloc_base() argument 776 { return this->do_get_incremental_reloc_base(symndx); } in get_incremental_reloc_base() 780 get_incremental_reloc_count(unsigned int symndx) const in get_incremental_reloc_count() argument 781 { return this->do_get_incremental_reloc_count(symndx); } in get_incremental_reloc_count() 1088 local_symbol_value(unsigned int symndx, uint64_t addend) const in local_symbol_value() argument 1089 { return this->do_local_symbol_value(symndx, addend); } in local_symbol_value() 1094 local_plt_offset(unsigned int symndx) const in local_plt_offset() argument [all …]
|
D | incremental-dump.cc | 52 unsigned int* symndx) in find_input_containing_global() argument 69 *symndx = ((offset - input_file.get_symbol_offset(0)) in find_input_containing_global() 297 for (unsigned int symndx = 0; symndx < nsyms; ++symndx) in dump_incremental_inputs() local 302 input_file.get_output_symbol_index(symndx, &is_def, &is_copy); in dump_incremental_inputs() 317 for (unsigned int symndx = 0; symndx < nsyms; ++symndx) in dump_incremental_inputs() local 320 input_file.get_global_symbol_reader(symndx)); in dump_incremental_inputs() 330 input_file.get_symbol_offset(symndx), in dump_incremental_inputs() 448 for (unsigned int symndx = 0; symndx < nsyms; ++symndx) in dump_incremental_inputs() local 449 printf(" %s\n", input_file.get_unused_symbol(symndx)); in dump_incremental_inputs()
|
D | object.cc | 140 Xindex::sym_xindex_to_shndx(Object* object, unsigned int symndx) in sym_xindex_to_shndx() argument 142 if (symndx >= this->symtab_xindex_.size()) in sym_xindex_to_shndx() 145 symndx); in sym_xindex_to_shndx() 148 unsigned int shndx = this->symtab_xindex_[symndx]; in sym_xindex_to_shndx() 152 symndx, shndx); in sym_xindex_to_shndx() 928 unsigned int symndx = shdr.get_sh_info(); in include_section_group() local 929 if (symndx >= symshdr.get_sh_size() / This::sym_size) in include_section_group() 932 index, symndx); in include_section_group() 935 off_t symoff = symshdr.get_sh_offset() + symndx * This::sym_size; in include_section_group() 951 symndx, sym.get_st_name()); in include_section_group() [all …]
|
D | output.cc | 1539 unsigned int symndx, in add_local() argument 1542 if (object->local_has_got_offset(symndx, got_type)) in add_local() 1545 unsigned int got_offset = this->add_got_entry(Got_entry(object, symndx, in add_local() 1547 object->set_local_got_offset(symndx, got_type, got_offset); in add_local() 1557 unsigned int symndx, in add_local_plt() argument 1560 if (object->local_has_got_offset(symndx, got_type)) in add_local_plt() 1563 unsigned int got_offset = this->add_got_entry(Got_entry(object, symndx, in add_local_plt() 1565 object->set_local_got_offset(symndx, got_type, got_offset); in add_local_plt() 1576 unsigned int symndx, in add_local_with_rel() argument 1581 if (object->local_has_got_offset(symndx, got_type)) in add_local_with_rel() [all …]
|
D | target.h | 281 plt_address_for_local(const Relobj* object, unsigned int symndx) const in plt_address_for_local() argument 282 { return this->do_plt_address_for_local(object, symndx); } in plt_address_for_local() 288 unsigned int symndx, in tls_offset_for_local() argument 290 { return do_tls_offset_for_local(object, symndx, got_indx); } in tls_offset_for_local()
|
D | mips.cc | 402 Mips_got_entry(Mips_relobj<size, big_endian>* object, unsigned int symndx, in Mips_got_entry() argument 405 : object_(object), symndx_(symndx), tls_type_(tls_type), shndx_(shndx) in Mips_got_entry() 467 symndx() const in symndx() function in __anona7e08b770111::Mips_got_entry 578 : object(NULL), symndx(-1U), ranges(NULL), num_pages(0) in Got_page_entry() 582 : object(object_), symndx(symndx_), ranges(NULL), num_pages(0) in Got_page_entry() 588 unsigned int symndx; member 601 { return reinterpret_cast<uintptr_t>(entry->object) + entry->symndx; } in operator ()() 611 return entry1->object == entry2->object && entry1->symndx == entry2->symndx; in operator ()() 647 unsigned int symndx, Mips_address addend, 668 unsigned int symndx, int addend); [all …]
|
D | ehframe.cc | 1003 unsigned int symndx = relocs->next_symndx(); in read_fde() local 1004 if (symndx == -1U) in read_fde() 1015 if (symndx >= symbols_size / sym_size) in read_fde() 1017 elfcpp::Sym<size, big_endian> sym(symbols + symndx * sym_size); in read_fde() 1019 fde_shndx = object->adjust_sym_shndx(symndx, sym.get_st_shndx(), in read_fde()
|
D | incremental.h | 886 get_symbol_offset(unsigned int symndx) const in get_symbol_offset() argument 895 + symndx * this->global_sym_entry_size); in get_symbol_offset() 1630 add_global_symbol(unsigned int symndx, Symbol* gsym) in add_global_symbol() argument 1631 { this->symbol_map_[symndx] = gsym; } in add_global_symbol() 1637 global_symbol(unsigned int symndx) const in global_symbol() argument 1638 { return this->symbol_map_[symndx]; } in global_symbol()
|
/toolchain/binutils/binutils-2.25/bfd/ |
D | coff-i960.c | 381 long symndx; in coff_i960_relocate_section() local 390 symndx = rel->r_symndx; in coff_i960_relocate_section() 392 if (symndx == -1) in coff_i960_relocate_section() 399 h = obj_coff_sym_hashes (input_bfd)[symndx]; in coff_i960_relocate_section() 400 sym = syms + symndx; in coff_i960_relocate_section() 424 if (symndx == -1) in coff_i960_relocate_section() 431 sec = sections[symndx]; in coff_i960_relocate_section() 461 if (howto->type == R_OPTCALL && ! info->relocatable && symndx != -1) in coff_i960_relocate_section() 503 esyms += (symndx + 2) * bfd_coff_symesz (input_bfd); in coff_i960_relocate_section() 547 if (symndx == -1) in coff_i960_relocate_section()
|
D | coff-tic80.c | 494 long symndx; in coff_tic80_relocate_section() local 503 symndx = rel->r_symndx; in coff_tic80_relocate_section() 505 if (symndx == -1) in coff_tic80_relocate_section() 512 h = obj_coff_sym_hashes (input_bfd)[symndx]; in coff_tic80_relocate_section() 513 sym = syms + symndx; in coff_tic80_relocate_section() 537 if (symndx == -1) in coff_tic80_relocate_section() 544 sec = sections[symndx]; in coff_tic80_relocate_section() 680 if (symndx == -1) in coff_tic80_relocate_section()
|
D | coff-mcore.c | 381 long symndx; in coff_mcore_relocate_section() local 392 symndx = rel->r_symndx; in coff_mcore_relocate_section() 395 if (symndx == -1) in coff_mcore_relocate_section() 402 h = obj_coff_sym_hashes (input_bfd)[symndx]; in coff_mcore_relocate_section() 403 sym = syms + symndx; in coff_mcore_relocate_section() 418 if (symndx == -1) in coff_mcore_relocate_section() 422 asection * sec = sections[symndx]; in coff_mcore_relocate_section()
|
D | elf32-frv.c | 986 long symndx; member 1099 return (entry->symndx == -1 in frvfdpic_relocs_info_hash() 1101 : entry->symndx + (long) entry->d.abfd->id * 257) + entry->addend; in frvfdpic_relocs_info_hash() 1112 return e1->symndx == e2->symndx && e1->addend == e2->addend in frvfdpic_relocs_info_eq() 1113 && (e1->symndx == -1 ? e1->d.h == e2->d.h : e1->d.abfd == e2->d.abfd); in frvfdpic_relocs_info_eq() 1139 (*loc)->symndx = entry->symndx; in frvfdpic_relocs_info_find() 1161 entry.symndx = -1; in frvfdpic_relocs_info_for_global() 1174 long symndx, in frvfdpic_relocs_info_for_local() argument 1180 entry.symndx = symndx; in frvfdpic_relocs_info_for_local() 1251 if (entry->symndx) in _frvfdpic_add_dyn_reloc() [all …]
|
D | pe-mips.c | 619 long symndx; in coff_pe_mips_relocate_section() local 627 symndx = rel->r_symndx; in coff_pe_mips_relocate_section() 629 if (symndx == -1) in coff_pe_mips_relocate_section() 636 h = obj_coff_sym_hashes (input_bfd)[symndx]; in coff_pe_mips_relocate_section() 637 sym = syms + symndx; in coff_pe_mips_relocate_section() 673 if (symndx == -1) in coff_pe_mips_relocate_section() 680 sec = sections[symndx]; in coff_pe_mips_relocate_section()
|
D | elf32-bfin.c | 1863 long symndx; member 1948 return (entry->symndx == -1 in bfinfdpic_relocs_info_hash() 1950 : entry->symndx + (long) entry->d.abfd->id * 257) + entry->addend; in bfinfdpic_relocs_info_hash() 1961 return e1->symndx == e2->symndx && e1->addend == e2->addend in bfinfdpic_relocs_info_eq() 1962 && (e1->symndx == -1 ? e1->d.h == e2->d.h : e1->d.abfd == e2->d.abfd); in bfinfdpic_relocs_info_eq() 1992 (*loc)->symndx = entry->symndx; in bfinfdpic_relocs_info_find() 2013 entry.symndx = -1; in bfinfdpic_relocs_info_for_global() 2026 long symndx, in bfinfdpic_relocs_info_for_local() argument 2032 entry.symndx = symndx; in bfinfdpic_relocs_info_for_local() 2097 if (entry->symndx) in _bfinfdpic_add_dyn_reloc() [all …]
|
D | coff-arm.c | 1180 long symndx; in coff_arm_relocate_section() local 1189 symndx = rel->r_symndx; in coff_arm_relocate_section() 1191 if (symndx == -1) in coff_arm_relocate_section() 1198 h = obj_coff_sym_hashes (input_bfd)[symndx]; in coff_arm_relocate_section() 1199 sym = syms + symndx; in coff_arm_relocate_section() 1293 if (symndx == -1) in coff_arm_relocate_section() 1300 sec = sections[symndx]; in coff_arm_relocate_section() 1756 if (symndx == -1) in coff_arm_relocate_section() 2061 long symndx; in bfd_arm_process_before_allocation() local 2064 symndx = rel->r_symndx; in bfd_arm_process_before_allocation() [all …]
|
D | coff-ppc.c | 957 long symndx; in coff_ppc_relocate_section() local 969 symndx = rel->r_symndx; in coff_ppc_relocate_section() 975 if (symndx == -1) in coff_ppc_relocate_section() 983 (obj_coff_sym_hashes (input_bfd)[symndx]); in coff_ppc_relocate_section() 989 sym = syms + symndx; in coff_ppc_relocate_section() 1004 if (symndx == -1) in coff_ppc_relocate_section() 1008 sec = sections[symndx]; in coff_ppc_relocate_section() 1078 sym = syms + symndx; in coff_ppc_relocate_section() 1083 our_toc_offset = local_toc_table[symndx]; in coff_ppc_relocate_section() 1101 MARK_AS_WRITTEN(local_toc_table[symndx]); in coff_ppc_relocate_section() [all …]
|
D | cofflink.c | 2379 long symndx = irel->r_symndx; in _bfd_coff_link_input_bfd() local 2380 if (symndx < 0) in _bfd_coff_link_input_bfd() 2382 h = obj_coff_sym_hashes (input_bfd)[symndx]; in _bfd_coff_link_input_bfd() 2913 long symndx; in _bfd_coff_generic_relocate_section() local 2921 symndx = rel->r_symndx; in _bfd_coff_generic_relocate_section() 2923 if (symndx == -1) in _bfd_coff_generic_relocate_section() 2928 else if (symndx < 0 in _bfd_coff_generic_relocate_section() 2929 || (unsigned long) symndx >= obj_raw_syment_count (input_bfd)) in _bfd_coff_generic_relocate_section() 2932 ("%B: illegal symbol index %ld in relocs", input_bfd, symndx); in _bfd_coff_generic_relocate_section() 2937 h = obj_coff_sym_hashes (input_bfd)[symndx]; in _bfd_coff_generic_relocate_section() [all …]
|
D | coff-sh.c | 2739 long symndx; in sh_relocate_section() local 2757 symndx = rel->r_symndx; in sh_relocate_section() 2759 if (symndx == -1) in sh_relocate_section() 2766 if (symndx < 0 in sh_relocate_section() 2767 || (unsigned long) symndx >= obj_raw_syment_count (input_bfd)) in sh_relocate_section() 2771 input_bfd, symndx); in sh_relocate_section() 2775 h = obj_coff_sym_hashes (input_bfd)[symndx]; in sh_relocate_section() 2776 sym = syms + symndx; in sh_relocate_section() 2813 if (symndx == -1) in sh_relocate_section() 2820 sec = sections[symndx]; in sh_relocate_section() [all …]
|
D | elf32-m68k.c | 667 unsigned long symndx; member 1391 const bfd *abfd, unsigned long symndx, in elf_m68k_init_got_entry_key() argument 1398 key->symndx = 0; in elf_m68k_init_got_entry_key() 1404 key->symndx = elf_m68k_hash_entry (h)->got_entry_key; in elf_m68k_init_got_entry_key() 1405 BFD_ASSERT (key->symndx != 0); in elf_m68k_init_got_entry_key() 1411 key->symndx = symndx; in elf_m68k_init_got_entry_key() 1427 return (key->symndx in elf_m68k_got_entry_hash() 1444 && key1->symndx == key2->symndx in elf_m68k_got_entry_eq() 1633 unsigned long symndx, in elf_m68k_add_entry_to_got() argument 1643 elf_m68k_init_got_entry_key (&key_, h, abfd, symndx, reloc_type); in elf_m68k_add_entry_to_got() [all …]
|
D | elf32-score7.c | 72 long symndx; member 895 return entry->symndx in score_elf_got_entry_hash() 898 + (entry->symndx >= 0 ? score_elf_hash_bfd_vma (entry->d.addend) in score_elf_got_entry_hash() 908 return e1->abfd == e2->abfd && e1->symndx == e2->symndx in score_elf_got_entry_eq() 910 : e1->symndx >= 0 ? e1->d.addend == e2->d.addend in score_elf_got_entry_eq() 1357 entry.symndx = -1; in score_elf_create_local_got_entry() 1453 e.symndx = -1; in s7_bfd_score_elf_hide_symbol() 1520 entry.symndx = -1; in score_elf_record_global_got_symbol() 1554 long symndx, in score_elf_record_local_got_symbol() argument 1561 entry.symndx = symndx; in score_elf_record_local_got_symbol() [all …]
|
D | coff-alpha.c | 545 long symndx; in alpha_ecoff_swap_reloc_out() local 552 symndx = intern->r_size; in alpha_ecoff_swap_reloc_out() 559 symndx = RELOC_SECTION_LITA; in alpha_ecoff_swap_reloc_out() 564 symndx = intern->r_symndx; in alpha_ecoff_swap_reloc_out() 575 H_PUT_32 (abfd, symndx, ext->r_symndx); in alpha_ecoff_swap_reloc_out()
|
D | elf32-score.c | 75 long symndx; member 1016 return entry->symndx in score_elf_got_entry_hash() 1026 return e1->abfd == e2->abfd && e1->symndx == e2->symndx in score_elf_got_entry_eq() 1028 : e1->symndx >= 0 ? e1->d.addend == e2->d.addend in score_elf_got_entry_eq() 1497 entry.symndx = -1; in score_elf_create_local_got_entry() 1592 e.symndx = -1; in s3_bfd_score_elf_hide_symbol() 1658 entry.symndx = -1; in score_elf_record_global_got_symbol() 1691 long symndx, in score_elf_record_local_got_symbol() argument 1698 entry.symndx = symndx; in score_elf_record_local_got_symbol() 1793 if (entry->abfd != NULL && entry->symndx == -1) in score_elf_resolve_final_got_entry()
|
/toolchain/binutils/binutils-2.25/binutils/ |
D | od-xcoff.c | 400 xcoff32_print_symbol (struct xcoff_dump *data, unsigned int symndx) in xcoff32_print_symbol() argument 403 && symndx < data->nsyms in xcoff32_print_symbol() 404 && data->syms[symndx].sym.name != NULL) in xcoff32_print_symbol() 405 printf ("%s", data->syms[symndx].sym.name); in xcoff32_print_symbol() 407 printf ("%u", symndx); in xcoff32_print_symbol() 949 unsigned int symndx; in dump_xcoff32_relocs() local 963 symndx = bfd_h_get_32 (abfd, rel.r_symndx); in dump_xcoff32_relocs() 964 printf ("%-6u ", symndx); in dump_xcoff32_relocs() 965 xcoff32_print_symbol (data, symndx); in dump_xcoff32_relocs() 1015 unsigned int symndx = bfd_h_get_32 (abfd, ln.l_addr.l_symndx); in dump_xcoff32_lineno() local [all …]
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/ppc/ |
D | xcoff-br16-2.d | 8 vaddr sgn mod sz type symndx symbol
|
D | xcoff-br16-1.d | 8 vaddr sgn mod sz type symndx symbol
|