Home
last modified time | relevance | path

Searched refs:sym_size (Results 1 – 25 of 26) sorted by relevance

12

/toolchain/binutils/binutils-2.25/gold/
Dincremental-dump.cc265 unsigned int sym_size = elfcpp::Elf_sizes<size>::sym_size; in dump_incremental_inputs() local
266 unsigned int nsyms = symtab_location.data_size / sym_size; in dump_incremental_inputs()
303 sym_p = symtab_view.data() + output_symndx * sym_size; in dump_incremental_inputs()
322 sym_p = symtab_view.data() + output_symndx * sym_size; in dump_incremental_inputs()
342 sym_p = symtab_view.data() + first_global * sym_size; in dump_incremental_inputs()
382 sym_p += sym_size; in dump_incremental_inputs()
407 sym_p = symtab_view.data() + got_symndx * sym_size; in dump_incremental_inputs()
422 sym_p = symtab_view.data() + plt_desc * sym_size; in dump_incremental_inputs()
Dobject.cc809 const int sym_size = This::sym_size; in base_read_symbols() local
813 section_offset_type locsize = loccount * sym_size; in base_read_symbols()
877 const size_t count = symbols_size / This::sym_size; in symbol_section_and_value()
880 elfcpp::Sym<size, big_endian> elfsym(symbols + sym * This::sym_size); in symbol_section_and_value()
929 if (symndx >= symshdr.get_sh_size() / This::sym_size) in include_section_group()
935 off_t symoff = symshdr.get_sh_offset() + symndx * This::sym_size; in include_section_group()
936 const unsigned char* psym = this->get_view(symoff, This::sym_size, true, in include_section_group()
1946 const int sym_size = This::sym_size; in do_add_symbols() local
1948 / sym_size); in do_add_symbols()
1949 if (symcount * sym_size != sd->symbols_size - sd->external_symbols_offset) in do_add_symbols()
[all …]
Dbinary.cc181 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in sized_convert() local
188 output_size += 4 * sym_size; in sized_convert()
217 0, symtab_offset, 4 * sym_size, in sized_convert()
218 3, 1, align, sym_size, &pout); in sized_convert()
361 *ppout += elfcpp::Elf_sizes<size>::sym_size; in write_symbol()
Dehframe.cc906 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in read_cie() local
907 if (personality_symndx >= symbols_size / sym_size) in read_cie()
910 + (personality_symndx * sym_size)); in read_cie()
1014 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in read_fde() local
1015 if (symndx >= symbols_size / sym_size) in read_fde()
1017 elfcpp::Sym<size, big_endian> sym(symbols + symndx * sym_size); in read_fde()
Dsymtab.cc729 unsigned char buf[elfcpp::Elf_sizes<size>::sym_size]; in resolve()
1125 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in add_from_relobj() local
1130 for (size_t i = 0; i < count; ++i, p += sym_size) in add_from_relobj()
1235 unsigned char symbuf[sym_size]; in add_from_relobj()
1239 memcpy(symbuf, p, sym_size); in add_from_relobj()
1266 memcpy(symbuf, p, sym_size); in add_from_relobj()
1412 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in add_from_dynobj() local
1426 for (size_t i = 0; i < count; ++i, p += sym_size, vs += 2) in add_from_dynobj()
1444 unsigned char symbuf[sym_size]; in add_from_dynobj()
1448 memcpy(symbuf, p, sym_size); in add_from_dynobj()
[all …]
Dtarget-reloc.h60 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in scan_relocs() local
80 + r_sym * sym_size); in scan_relocs()
553 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in scan_relocatable_relocs() local
579 + r_sym * sym_size); in scan_relocatable_relocs()
Dincremental.cc568 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in do_reserve_layout() local
590 + output_symndx * sym_size); in do_reserve_layout()
638 this->main_symtab_loc_.data_size / elfcpp::Elf_sizes<size>::sym_size; in do_process_got_plt()
834 *nsyms = this->main_symtab_loc_.data_size / elfcpp::Elf_sizes<size>::sym_size; in get_symtab_view()
2124 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in do_add_symbols() local
2125 unsigned char symbuf[sym_size]; in do_add_symbols()
2149 sym_p = symtab_view.data() + output_symndx * sym_size; in do_add_symbols()
2468 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in do_count_local_symbols() local
2484 for (unsigned int i = 0; i < nlocals; ++i, symp += sym_size) in do_count_local_symbols()
2582 off_t output_size = this->local_symbol_count_ * This::sym_size; in do_relocate()
[all …]
Dgc.h191 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in gc_process_relocs() local
242 + r_sym * sym_size); in gc_process_relocs()
Ddynobj.cc725 const int sym_size = This::sym_size; in do_add_symbols() local
726 const size_t symcount = sd->symbols_size / sym_size; in do_add_symbols()
728 if (symcount * sym_size != sd->symbols_size) in do_add_symbols()
806 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in do_for_all_global_symbols() local
808 / sym_size); in do_for_all_global_symbols()
811 for (size_t i = 0; i < symcount; ++i, p += sym_size) in do_for_all_global_symbols()
Dreloc.cc371 const int sym_size = This::sym_size; in do_read_relocs() local
374 off_t locsize = loccount * sym_size; in do_read_relocs()
1405 const int sym_size = This::sym_size; in find_functions() local
1406 const unsigned int symcount = sh_size / sym_size; in find_functions()
1407 for (unsigned int i = 0; i < symcount; ++i, psyms += sym_size) in find_functions()
Ddynobj.h283 static const int sym_size = elfcpp::Elf_sizes<size>::sym_size; variable
Dplugin.cc1059 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in do_add_symbols() local
1060 unsigned char symbuf[sym_size]; in do_add_symbols()
Darm.cc6510 const int sym_size =elfcpp::Elf_sizes<32>::sym_size; in do_count_local_symbols() local
6512 off_t locsize = loccount * sym_size; in do_count_local_symbols()
6541 psyms += sym_size; in do_count_local_symbols()
6544 for (unsigned int i = 1; i < loccount; ++i, psyms += sym_size) in do_count_local_symbols()
6738 const int sym_size = elfcpp::Elf_sizes<32>::sym_size; in find_linked_text_section() local
6739 elfcpp::Sym<32, big_endian> sym(psyms + r_sym * sym_size); in find_linked_text_section()
6861 const elfcpp::Elf_types<32>::Elf_WXword sym_size = in do_read_symbols() local
6862 elfcpp::Elf_sizes<32>::sym_size; in do_read_symbols()
6863 if (shdr.get_sh_size() > sym_size) in do_read_symbols()
6947 const int sym_size =elfcpp::Elf_sizes<32>::sym_size; in do_read_symbols() local
[all …]
Dincremental.h1828 static const int sym_size = elfcpp::Elf_sizes<size>::sym_size; variable
Dobject.h2466 static const int sym_size = elfcpp::Elf_sizes<size>::sym_size; variable
Dpowerpc.cc1770 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in scan_opd_relocs() local
1790 lsym(plocal_syms + r_sym * sym_size); in scan_opd_relocs()
1876 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in do_read_symbols() local
1877 off_t locsize = loccount * sym_size; in do_read_symbols()
1883 psyms += sym_size; in do_read_symbols()
1884 for (unsigned int i = 1; i < loccount; ++i, psyms += sym_size) in do_read_symbols()
Dlayout.cc4022 symsize = elfcpp::Elf_sizes<32>::sym_size; in create_symtab_sections()
4027 symsize = elfcpp::Elf_sizes<64>::sym_size; in create_symtab_sections()
4305 symsize = elfcpp::Elf_sizes<32>::sym_size; in create_dynamic_symtab()
4310 symsize = elfcpp::Elf_sizes<64>::sym_size; in create_dynamic_symtab()
Daarch64.cc1871 const int sym_size =elfcpp::Elf_sizes<size>::sym_size; in do_count_local_symbols() local
1873 off_t locsize = loccount * sym_size; in do_count_local_symbols()
1900 psyms += sym_size; in do_count_local_symbols()
1903 for (unsigned int i = 1; i < loccount; ++i, psyms += sym_size) in do_count_local_symbols()
Dmips.cc3709 / elfcpp::Elf_sizes<size>::sym_size)); in get_dt_mips_symtabno()
5838 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in do_count_local_symbols() local
5840 off_t locsize = loccount * sym_size; in do_count_local_symbols()
5847 psyms += sym_size; in do_count_local_symbols()
5848 for (unsigned int i = 1; i < loccount; ++i, psyms += sym_size) in do_count_local_symbols()
Ddwarf_reader.cc61 const int symsize = elfcpp::Elf_sizes<size>::sym_size; in symbol_section()
/toolchain/binutils/binutils-2.25/binutils/
Delfcomm.h69 unsigned long sym_size; /* Size of the symbol table. */ member
Delfcomm.c547 arch->sym_size = size; in process_archive_index_and_symbols()
583 arch->sym_size = 0; in setup_archive()
Dreadelf.c15126 file_name, (long) arch.index_num, arch.sym_size); in process_archive()
15151 if (l >= arch.sym_size) in process_archive()
15166 if (l < arch.sym_size) in process_archive()
15168 file_name, arch.sym_size - l); in process_archive()
/toolchain/binutils/binutils-2.25/elfcpp/
Delfcpp_file.h112 static const int sym_size = Elf_sizes<size>::sym_size; variable
Delfcpp.h1001 static const int sym_size = sizeof(internal::Sym_data<size>);

12