Home
last modified time | relevance | path

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

123

/netbsd-src/external/gpl3/binutils.old/dist/gold/
H A 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()
H A Dobject.cc875 const int sym_size = This::sym_size; in base_read_symbols() local
879 section_offset_type locsize = loccount * sym_size; in base_read_symbols()
943 const size_t count = symbols_size / This::sym_size; in symbol_section_and_value()
946 elfcpp::Sym<size, big_endian> elfsym(symbols + sym * This::sym_size); in symbol_section_and_value()
995 if (symndx >= symshdr.get_sh_size() / This::sym_size) in include_section_group()
1001 off_t symoff = symshdr.get_sh_offset() + symndx * This::sym_size; in include_section_group()
1002 const unsigned char* psym = this->get_view(symoff, This::sym_size, true, in include_section_group()
2129 const int sym_size = This::sym_size; in do_add_symbols() local
2131 / sym_size); in do_add_symbols()
2132 if (symcount * sym_size != sd->symbols_size - sd->external_symbols_offset) in do_add_symbols()
[all …]
H A Dbinary.cc187 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in sized_convert() local
194 output_size += 4 * sym_size; in sized_convert()
223 0, symtab_offset, 4 * sym_size, in sized_convert()
224 3, 1, align, sym_size, &pout); in sized_convert()
367 *ppout += elfcpp::Elf_sizes<size>::sym_size; in write_symbol()
H A Dsymtab.cc734 unsigned char buf[elfcpp::Elf_sizes<size>::sym_size]; in resolve()
1192 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in add_from_relobj() local
1197 for (size_t i = 0; i < count; ++i, p += sym_size) in add_from_relobj()
1305 unsigned char symbuf[sym_size]; in add_from_relobj()
1309 memcpy(symbuf, p, sym_size); in add_from_relobj()
1336 memcpy(symbuf, p, sym_size); in add_from_relobj()
1488 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in add_from_dynobj() local
1502 for (size_t i = 0; i < count; ++i, p += sym_size, vs += 2) in add_from_dynobj()
1522 unsigned char symbuf[sym_size]; in add_from_dynobj()
1527 memcpy(symbuf, p, sym_size); in add_from_dynobj()
[all …]
H A Dincremental.cc573 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in do_reserve_layout() local
595 + output_symndx * sym_size); in do_reserve_layout()
643 this->main_symtab_loc_.data_size / elfcpp::Elf_sizes<size>::sym_size; in do_process_got_plt()
839 *nsyms = this->main_symtab_loc_.data_size / elfcpp::Elf_sizes<size>::sym_size; in get_symtab_view()
2136 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in do_add_symbols() local
2137 unsigned char symbuf[sym_size]; in do_add_symbols()
2160 sym_p = symtab_view.data() + output_symndx * sym_size; in do_add_symbols()
2480 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in do_count_local_symbols() local
2496 for (unsigned int i = 0; i < nlocals; ++i, symp += sym_size) in do_count_local_symbols()
2594 off_t output_size = this->local_symbol_count_ * This::sym_size; in do_relocate()
[all …]
H A 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()
1071 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in read_fde() local
1072 if (symndx >= symbols_size / sym_size) in read_fde()
1074 elfcpp::Sym<size, big_endian> sym(symbols + symndx * sym_size); in read_fde()
H A Dtarget-reloc.h60 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in scan_relocs() local
79 + r_sym * sym_size); in scan_relocs()
718 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in scan_relocatable_relocs() local
743 + r_sym * sym_size); in scan_relocatable_relocs()
H A Dgc.h186 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in gc_process_relocs() local
237 + r_sym * sym_size); in gc_process_relocs()
H A 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()
H A 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()
1409 const int sym_size = This::sym_size; in find_functions() local
1410 const unsigned int symcount = sh_size / sym_size; in find_functions()
1411 for (unsigned int i = 0; i < symcount; ++i, psyms += sym_size) in find_functions()
/netbsd-src/external/gpl3/binutils/dist/gold/
H A 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()
H A Dobject.cc875 const int sym_size = This::sym_size; in base_read_symbols() local
879 section_offset_type locsize = loccount * sym_size; in base_read_symbols()
943 const size_t count = symbols_size / This::sym_size; in symbol_section_and_value()
946 elfcpp::Sym<size, big_endian> elfsym(symbols + sym * This::sym_size); in symbol_section_and_value()
995 if (symndx >= symshdr.get_sh_size() / This::sym_size) in include_section_group()
1001 off_t symoff = symshdr.get_sh_offset() + symndx * This::sym_size; in include_section_group()
1002 const unsigned char* psym = this->get_view(symoff, This::sym_size, true, in include_section_group()
2129 const int sym_size = This::sym_size; in do_add_symbols() local
2131 / sym_size); in do_add_symbols()
2132 if (symcount * sym_size != sd->symbols_size - sd->external_symbols_offset) in do_add_symbols()
[all …]
H A Dbinary.cc187 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in sized_convert() local
194 output_size += 4 * sym_size; in sized_convert()
223 0, symtab_offset, 4 * sym_size, in sized_convert()
224 3, 1, align, sym_size, &pout); in sized_convert()
367 *ppout += elfcpp::Elf_sizes<size>::sym_size; in write_symbol()
H A Dsymtab.cc734 unsigned char buf[elfcpp::Elf_sizes<size>::sym_size]; in resolve()
1192 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in add_from_relobj() local
1197 for (size_t i = 0; i < count; ++i, p += sym_size) in add_from_relobj()
1305 unsigned char symbuf[sym_size]; in add_from_relobj()
1309 memcpy(symbuf, p, sym_size); in add_from_relobj()
1336 memcpy(symbuf, p, sym_size); in add_from_relobj()
1488 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in add_from_dynobj() local
1502 for (size_t i = 0; i < count; ++i, p += sym_size, vs += 2) in add_from_dynobj()
1522 unsigned char symbuf[sym_size]; in add_from_dynobj()
1527 memcpy(symbuf, p, sym_size); in add_from_dynobj()
[all …]
H A Dincremental.cc573 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in do_reserve_layout() local
595 + output_symndx * sym_size); in do_reserve_layout()
643 this->main_symtab_loc_.data_size / elfcpp::Elf_sizes<size>::sym_size; in do_process_got_plt()
839 *nsyms = this->main_symtab_loc_.data_size / elfcpp::Elf_sizes<size>::sym_size; in get_symtab_view()
2136 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in do_add_symbols() local
2137 unsigned char symbuf[sym_size]; in do_add_symbols()
2160 sym_p = symtab_view.data() + output_symndx * sym_size; in do_add_symbols()
2480 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in do_count_local_symbols() local
2496 for (unsigned int i = 0; i < nlocals; ++i, symp += sym_size) in do_count_local_symbols()
2594 off_t output_size = this->local_symbol_count_ * This::sym_size; in do_relocate()
[all …]
H A 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()
1071 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in read_fde() local
1072 if (symndx >= symbols_size / sym_size) in read_fde()
1074 elfcpp::Sym<size, big_endian> sym(symbols + symndx * sym_size); in read_fde()
H A Dtarget-reloc.h60 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in scan_relocs() local
79 + r_sym * sym_size); in scan_relocs()
718 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in scan_relocatable_relocs() local
743 + r_sym * sym_size); in scan_relocatable_relocs()
H A Dgc.h186 const int sym_size = elfcpp::Elf_sizes<size>::sym_size; in gc_process_relocs() local
237 + r_sym * sym_size); in gc_process_relocs()
H A 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()
H A 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()
1409 const int sym_size = This::sym_size; in find_functions() local
1410 const unsigned int symcount = sh_size / sym_size; in find_functions()
1411 for (unsigned int i = 0; i < symcount; ++i, psyms += sym_size) in find_functions()
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/
H A Dparse.cc845 long long unsigned sym_size; in process_Linux_kernel_cmd() local
850 sscanf (line, "%llx %llx %c %s [%s", &sym_addr, &sym_size, &sym_type, in process_Linux_kernel_cmd()
893 func->size = sym_size; in process_Linux_kernel_cmd()
900 if (lo_max < sym_addr + sym_size) in process_Linux_kernel_cmd()
901 lo_max = sym_addr + sym_size; in process_Linux_kernel_cmd()
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A Dparse.cc845 long long unsigned sym_size; in process_Linux_kernel_cmd() local
850 sscanf (line, "%llx %llx %c %s [%s", &sym_addr, &sym_size, &sym_type, in process_Linux_kernel_cmd()
893 func->size = sym_size; in process_Linux_kernel_cmd()
900 if (lo_max < sym_addr + sym_size) in process_Linux_kernel_cmd()
901 lo_max = sym_addr + sym_size; in process_Linux_kernel_cmd()
/netbsd-src/external/gpl3/binutils/dist/ld/
H A Dpdb.c1701 calculate_symbols_size (uint8_t *data, uint32_t size, uint32_t *sym_size) in calculate_symbols_size() argument
1729 *sym_size += len; in calculate_symbols_size()
1757 *sym_size += len; in calculate_symbols_size()
1790 *sym_size += len; in calculate_symbols_size()
1796 *sym_size += len; in calculate_symbols_size()
1803 *sym_size += len; in calculate_symbols_size()
1824 *sym_size += len; in calculate_symbols_size()
1854 uint32_t sym_size = 0; in handle_debugs_section() local
1995 if (!calculate_symbols_size (data + off, size, &sym_size)) in handle_debugs_section()
2011 if (sym_size % sizeof (uint32_t)) in handle_debugs_section()
[all …]
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Delfcomm.h57 uint64_t sym_size; /* Size of the symbol table. */ member
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Delfcomm.h59 unsigned long sym_size; /* Size of the symbol table. */ member

123