Home
last modified time | relevance | path

Searched refs:sym_index (Results 1 – 19 of 19) sorted by relevance

/toolchain/binutils/binutils-2.25/gprof/
Dcg_print.c505 unsigned int sym_index; in cg_print() local
513 for (sym_index = 0; sym_index < symtab.len + num_cycles; ++sym_index) in cg_print()
515 parent = timesortsym[sym_index]; in cg_print()
566 unsigned int sym_index; in cg_print_index() local
578 for (sym_index = 0, nnames = 0; sym_index < symtab.len; sym_index++) in cg_print_index()
580 if (ignore_zeros && symtab.base[sym_index].ncalls == 0 in cg_print_index()
581 && symtab.base[sym_index].hist.time == 0) in cg_print_index()
584 name_sorted_syms[nnames++] = &symtab.base[sym_index]; in cg_print_index()
589 for (sym_index = 1, todo = nnames; sym_index <= num_cycles; sym_index++) in cg_print_index()
590 name_sorted_syms[todo++] = &cycle_header[sym_index]; in cg_print_index()
[all …]
Dcg_arcs.c440 int sym_index; in propagate_flags() local
444 for (sym_index = symtab.len - 1; sym_index >= 0; --sym_index) in propagate_flags()
446 child = symbols[sym_index]; in propagate_flags()
597 unsigned int sym_index; in cg_assemble() local
642 for (sym_index = 0; sym_index < symtab.len; ++sym_index) in cg_assemble()
643 top_sorted_syms[sym_index] = &symtab.base[sym_index]; in cg_assemble()
648 for (sym_index = 0; sym_index < symtab.len; ++sym_index) in cg_assemble()
651 printf ("%d:", top_sorted_syms[sym_index]->cg.top_order); in cg_assemble()
652 print_name (top_sorted_syms[sym_index]); in cg_assemble()
666 for (sym_index = 0; sym_index < symtab.len; ++sym_index) in cg_assemble()
[all …]
Dhist.c568 unsigned int sym_index; in hist_print() local
597 for (sym_index = 0; sym_index < symtab.len; ++sym_index) in hist_print()
598 time_sorted_syms[sym_index] = &symtab.base[sym_index]; in hist_print()
614 for (sym_index = 0; sym_index < symtab.len; ++sym_index) in hist_print()
616 sym = time_sorted_syms[sym_index]; in hist_print()
651 for (sym_index = 0; sym_index < symtab.len; ++sym_index) in hist_print()
653 addr = time_sorted_syms[sym_index]->addr; in hist_print()
660 print_line (time_sorted_syms[sym_index], SItab[log_scale].scale); in hist_print()
/toolchain/binutils/binutils-2.25/bfd/
Dxsym.c89 unsigned long sym_index) in compute_offset() argument
92 unsigned long page_number = first_page + (sym_index / entries_per_page); in compute_offset()
93 unsigned long page_offset = (sym_index % entries_per_page) * entry_size; in compute_offset()
535 unsigned long sym_index) in bfd_sym_fetch_resources_table_entry() argument
547 if (sym_index == 0) in bfd_sym_fetch_resources_table_entry()
571 entry_size, sym_index); in bfd_sym_fetch_resources_table_entry()
586 unsigned long sym_index) in bfd_sym_fetch_modules_table_entry() argument
598 if (sym_index == 0) in bfd_sym_fetch_modules_table_entry()
622 entry_size, sym_index); in bfd_sym_fetch_modules_table_entry()
637 unsigned long sym_index) in bfd_sym_fetch_file_references_table_entry() argument
[all …]
Dpeicode.h100 unsigned int sym_index; member
456 unsigned int sym_index) in pe_ILF_make_a_symbol_reloc() argument
470 internal->r_symndx = sym_index; in pe_ILF_make_a_symbol_reloc()
546 BFD_ASSERT (vars->sym_index < NUM_ILF_SYMS); in pe_ILF_make_a_symbol()
579 * vars->table_ptr = vars->sym_index; in pe_ILF_make_a_symbol()
583 vars->sym_index ++; in pe_ILF_make_a_symbol()
644 coff_section_data (vars->abfd, sec)->i = vars->sym_index - 1; in pe_ILF_make_a_section()
806 vars.sym_index = 0; in pe_ILF_build_a_bfd()
960 imp_index = vars.sym_index - 1; in pe_ILF_build_a_bfd()
1051 bfd_get_symcount (abfd) = vars.sym_index; in pe_ILF_build_a_bfd()
[all …]
Doasys.c789 unsigned int sym_index = 0; in oasys_write_syms() local
802 H_PUT_16 (abfd, sym_index, symbol.refno); in oasys_write_syms()
803 sym_index++; in oasys_write_syms()
813 H_PUT_16 (abfd, sym_index, symbol.refno); in oasys_write_syms()
815 sym_index++; in oasys_write_syms()
862 g->value = sym_index - 1; in oasys_write_syms()
Dpef.c780 unsigned long sym_index; in bfd_pef_parse_function_stubs() local
798 ret = bfd_pef_parse_function_stub (abfd, codebuf + codepos, 24, &sym_index); in bfd_pef_parse_function_stubs()
805 if (sym_index >= header.total_imported_symbol_count) in bfd_pef_parse_function_stubs()
815 if (loaderlen < (header.loader_strings_offset + imports[sym_index].name)) in bfd_pef_parse_function_stubs()
818 max = loaderlen - (header.loader_strings_offset + imports[sym_index].name); in bfd_pef_parse_function_stubs()
820 symname += header.loader_strings_offset + imports[sym_index].name; in bfd_pef_parse_function_stubs()
Delf32-microblaze.c1668 int i, sym_index; in microblaze_elf_relax_section() local
2129 for (sym_index = 0; sym_index < symcount; sym_index++) in microblaze_elf_relax_section()
2131 sym_hash = elf_sym_hashes (abfd)[sym_index]; in microblaze_elf_relax_section()
Delf32-v850.c2872 int sym_index; in v850_elf_relax_delete_bytes() local
3020 for (sym_index = 0; esym < esymend; esym ++, sym_index ++) in v850_elf_relax_delete_bytes()
3025 sym_hash = elf_sym_hashes (abfd) [sym_index]; in v850_elf_relax_delete_bytes()
Dcoff-alpha.c2219 alpha_ecoff_get_elt_at_index (bfd *abfd, symindex sym_index) in alpha_ecoff_get_elt_at_index() argument
2223 entry = bfd_ardata (abfd)->symdefs + sym_index; in alpha_ecoff_get_elt_at_index()
Darchive.c729 _bfd_generic_get_elt_at_index (bfd *abfd, symindex sym_index) in _bfd_generic_get_elt_at_index() argument
733 entry = bfd_ardata (abfd)->symdefs + sym_index; in _bfd_generic_get_elt_at_index()
/toolchain/binutils/binutils-2.25/gold/
Dsymtab.cc2905 unsigned int sym_index = sym->symtab_index(); in sized_write_globals() local
2912 if (sym_index == -1U && dynsym_index == -1U) in sized_write_globals()
2992 if (sym_index != -1U) in sized_write_globals()
2993 symtab_xindex->add(sym_index, shndx); in sized_write_globals()
3015 if (sym_index != -1U) in sized_write_globals()
3016 symtab_xindex->add(sym_index, shndx); in sized_write_globals()
3045 if (sym_index != -1U) in sized_write_globals()
3047 sym_index -= first_global_index; in sized_write_globals()
3048 gold_assert(sym_index < output_count); in sized_write_globals()
3049 unsigned char* ps = psyms + (sym_index * sym_size); in sized_write_globals()
Doutput.h2348 add_local(Relobj* object, unsigned int sym_index, unsigned int got_type);
2353 add_local_plt(Relobj* object, unsigned int sym_index, unsigned int got_type);
2358 add_local_tls(Relobj* object, unsigned int sym_index, unsigned int got_type) in add_local_tls() argument
2359 { return add_local_plt(object, sym_index, got_type); } in add_local_tls()
2364 add_local_with_rel(Relobj* object, unsigned int sym_index,
2374 add_local_pair_with_rel(Relobj* object, unsigned int sym_index,
2384 add_local_tls_pair(Relobj* object, unsigned int sym_index,
2410 reserve_local(unsigned int i, Relobj* object, unsigned int sym_index,
Dincremental.cc1824 unsigned int sym_index; member
1854 elfcpp::Swap<32, big_endian>::writeval(pov, this->info_.sym_index); in visit()
1886 elfcpp::Swap<32, big_endian>::writeval(pov, this->info_.sym_index); in visit()
1914 this->info_.sym_index = sym->symtab_index(); in operator ()()
Dpowerpc.cc2187 add_local(Relobj* object, unsigned int sym_index, unsigned int got_type) in add_local() argument
2190 return Output_data_got<size, big_endian>::add_local(object, sym_index, in add_local()
2195 add_local_plt(Relobj* object, unsigned int sym_index, unsigned int got_type) in add_local_plt() argument
2198 return Output_data_got<size, big_endian>::add_local_plt(object, sym_index, in add_local_plt()
2203 add_local_tls(Relobj* object, unsigned int sym_index, unsigned int got_type) in add_local_tls() argument
2204 { return this->add_local_plt(object, sym_index, got_type); } in add_local_tls()
2207 add_local_tls_pair(Relobj* object, unsigned int sym_index, in add_local_tls_pair() argument
2214 add_local_tls_pair(object, sym_index, got_type, rel_dyn, r_type); in add_local_tls_pair()
Doutput.cc1106 unsigned int sym_index = this->get_symbol_index(); in write_rel() local
1107 wr->put_r_info(elfcpp::elf_r_info<size>(sym_index, this->type_)); in write_rel()
1645 unsigned int sym_index, in reserve_local() argument
1649 object->set_local_got_offset(sym_index, got_type, this->got_offset(i)); in reserve_local()
DChangeLog5966 (Got_plt_view_info::sym_index): New data member.
5971 with sym_index and input_index.
/toolchain/binutils/binutils-2.25/gas/
Decoff.c846 long sym_index; /* final symbol index */ member
1419 static symint_t add_aux_sym_rndx (int file_index, symint_t sym_index);
1638 psym->sym_index = -1; in add_ecoff_symbol()
1826 add_aux_sym_rndx (int file_index, symint_t sym_index) in add_aux_sym_rndx() argument
1842 aux_ptr->data.rndx.index = sym_index; in add_aux_sym_rndx()
4133 know (begin_ptr->sym_index != -1); in ecoff_build_symbols()
4134 sym_ptr->ecoff_sym.asym.index = begin_ptr->sym_index; in ecoff_build_symbols()
4149 + (begin_ptr->sym_index in ecoff_build_symbols()
4221 sym_ptr->sym_index = isym; in ecoff_build_symbols()
/toolchain/binutils/binutils-2.25/binutils/
Dreadelf.c11183 unsigned long sym_index; in apply_relocations() local
11217 sym_index = (unsigned long) get_reloc_symindex (rp->r_info); in apply_relocations()
11218 if (sym_index >= num_syms) in apply_relocations()
11221 sym_index, printable_section_name (section)); in apply_relocations()
11224 sym = symtab + sym_index; in apply_relocations()