Home
last modified time | relevance | path

Searched refs:sh_entsize (Results 1 – 25 of 73) sorted by relevance

123

/toolchain/binutils/binutils-2.25/include/elf/
Dexternal.h122 unsigned char sh_entsize[4]; /* Entry size if section holds table */ member
135 unsigned char sh_entsize[8]; /* Entry size if section holds table */ member
Dinternal.h111 bfd_size_type sh_entsize; /* Entry size if section holds table */ member
/toolchain/binutils/binutils-2.25/bfd/
Delfcode.h320 dst->sh_entsize = H_GET_WORD (abfd, src->sh_entsize); in elf_swap_shdr_in()
343 H_PUT_WORD (abfd, src->sh_entsize, dst->sh_entsize); in elf_swap_shdr_out()
887 rela_hdr->sh_size = rela_hdr->sh_entsize * sec->reloc_count; in elf_write_relocs()
1406 entsize = rel_hdr->sh_entsize; in elf_slurp_reloc_table_from_section()
1570 (long) hdr->sh_entsize); in elf_debug_section()
Delf.c560 && (shdr)->sh_entsize == GRP_ENTRY_SIZE \ in setup_group()
902 newsect->entsize = hdr->sh_entsize; in _bfd_elf_make_section_from_shdr()
1701 if (hdr->sh_entsize != bed->s->sizeof_sym) in bfd_section_from_shdr()
1704 if (hdr->sh_info * hdr->sh_entsize > hdr->sh_size) in bfd_section_from_shdr()
1765 if (hdr->sh_entsize != bed->s->sizeof_sym) in bfd_section_from_shdr()
1768 if (hdr->sh_info * hdr->sh_entsize > hdr->sh_size) in bfd_section_from_shdr()
1871 if (hdr->sh_entsize in bfd_section_from_shdr()
1989 if (hdr->sh_entsize != sizeof (Elf_External_Versym)) in bfd_section_from_shdr()
2655 rel_hdr->sh_entsize = (use_rela_p in _bfd_elf_init_reloc_shdr()
2767 this_hdr->sh_entsize = bed->s->sizeof_hash_entry; in elf_fake_sections()
[all …]
Delf64-sparc.c78 entsize = rel_hdr->sh_entsize; in elf64_sparc_slurp_one_reloc_table()
330 rela_hdr->sh_size = rela_hdr->sh_entsize * count; in elf64_sparc_write_relocs()
734 elf_section_data (sec)->this_hdr.sh_entsize = 12; in elf64_sparc_fake_sections()
Delf-bfd.h36 #define NUM_SHDR_ENTRIES(shdr) ((shdr)->sh_entsize > 0 ? (shdr)->sh_size / (shdr)->sh_entsize : 0)
2500 if (rel_hdr->sh_size > rel_hdr->sh_entsize) \
2502 rel_hdr->sh_size -= rel_hdr->sh_entsize; \
2504 rel_hdr->sh_size -= rel_hdr->sh_entsize; \
Delf64-mips.c3682 count = s->size / elf_section_data (s)->this_hdr.sh_entsize * 3; in mips_elf64_canonicalize_dynamic_reloc()
3726 entsize = rel_hdr->sh_entsize; in mips_elf64_slurp_one_reloc_table()
4000 if (rel_hdr->sh_entsize == sizeof(Elf64_Mips_External_Rel)) in mips_elf64_write_relocs()
4002 else if (rel_hdr->sh_entsize == sizeof(Elf64_Mips_External_Rela)) in mips_elf64_write_relocs()
4019 rel_hdr->sh_size = rel_hdr->sh_entsize * *count; in mips_elf64_write_rel()
4117 rela_hdr->sh_size = rela_hdr->sh_entsize * *count; in mips_elf64_write_rela()
Delflink.c269 elf_section_data (s)->this_hdr.sh_entsize = bed->s->sizeof_hash_entry; in _bfd_elf_link_create_dynamic_sections()
283 elf_section_data (s)->this_hdr.sh_entsize = 0; in _bfd_elf_link_create_dynamic_sections()
285 elf_section_data (s)->this_hdr.sh_entsize = 4; in _bfd_elf_link_create_dynamic_sections()
2109 if (shdr->sh_entsize == bed->s->sizeof_rel) in elf_link_read_relocs_from_section()
2111 else if (shdr->sh_entsize == bed->s->sizeof_rela) in elf_link_read_relocs_from_section()
2154 erela += shdr->sh_entsize; in elf_link_read_relocs_from_section()
2272 rel_hdr->sh_size = rel_hdr->sh_entsize * reldata->count; in _bfd_elf_link_size_reloc_section()
2322 if (esdo->rel.hdr && esdo->rel.hdr->sh_entsize == input_rel_hdr->sh_entsize) in _bfd_elf_link_output_relocs()
2328 && esdo->rela.hdr->sh_entsize == input_rel_hdr->sh_entsize) in _bfd_elf_link_output_relocs()
2343 erel += output_reldata->count * input_rel_hdr->sh_entsize; in _bfd_elf_link_output_relocs()
[all …]
Delf32-metag.c1427 if (rel_hdr->sh_size > rel_hdr->sh_entsize) \
1429 rel_hdr->sh_size -= rel_hdr->sh_entsize; \
1431 rel_hdr->sh_size -= rel_hdr->sh_entsize; \
3402 elf_section_data (splt->output_section)->this_hdr.sh_entsize = in elf_metag_finish_dynamic_sections()
3420 ->this_hdr.sh_entsize = GOT_ENTRY_SIZE; in elf_metag_finish_dynamic_sections()
Delf32-or1k.c1838 elf_section_data (splt->output_section)->this_hdr.sh_entsize = 4; in or1k_elf_finish_dynamic_sections()
1852 elf_section_data (sgot->output_section)->this_hdr.sh_entsize = 4; in or1k_elf_finish_dynamic_sections()
1856 elf_section_data (htab->sgot->output_section)->this_hdr.sh_entsize = 4; in or1k_elf_finish_dynamic_sections()
Delf32-vax.c1972 elf_section_data (splt->output_section)->this_hdr.sh_entsize in elf_vax_finish_dynamic_sections()
1991 elf_section_data (sgot->output_section)->this_hdr.sh_entsize = 4; in elf_vax_finish_dynamic_sections()
Delf32-cris.c2391 elf_section_data (splt->output_section)->this_hdr.sh_entsize in elf_cris_finish_dynamic_sections()
2413 elf_section_data (splt->output_section)->this_hdr.sh_entsize in elf_cris_finish_dynamic_sections()
2433 elf_section_data (sgot->output_section)->this_hdr.sh_entsize = 4; in elf_cris_finish_dynamic_sections()
Delf32-microblaze.c3417 elf_section_data (splt->output_section)->this_hdr.sh_entsize = 4; in microblaze_elf_finish_dynamic_sections()
3431 elf_section_data (sgot->output_section)->this_hdr.sh_entsize = 4; in microblaze_elf_finish_dynamic_sections()
3435 elf_section_data (htab->sgot->output_section)->this_hdr.sh_entsize = 4; in microblaze_elf_finish_dynamic_sections()
Delf64-x86-64.c5181 ->this_hdr.sh_entsize = abed->plt_entry_size; in elf_x86_64_finish_dynamic_sections()
5222 ->this_hdr.sh_entsize = sizeof (elf_x86_64_bnd_plt2_entry); in elf_x86_64_finish_dynamic_sections()
5249 elf_section_data (htab->elf.sgotplt->output_section)->this_hdr.sh_entsize = in elf_x86_64_finish_dynamic_sections()
5281 elf_section_data (htab->elf.sgot->output_section)->this_hdr.sh_entsize in elf_x86_64_finish_dynamic_sections()
5426 count = relplt->size / hdr->sh_entsize; in elf_x86_64_get_synthetic_symtab()
Delfxx-mips.c7015 if (hdr->sh_addralign != 0 && hdr->sh_entsize == 0) in _bfd_mips_elf_section_processing()
7243 hdr->sh_entsize = sizeof (Elf32_External_gptab); in _bfd_mips_elf_fake_sections()
7254 hdr->sh_entsize = 0; in _bfd_mips_elf_fake_sections()
7256 hdr->sh_entsize = 1; in _bfd_mips_elf_fake_sections()
7266 hdr->sh_entsize = sizeof (Elf32_External_RegInfo); in _bfd_mips_elf_fake_sections()
7268 hdr->sh_entsize = 1; in _bfd_mips_elf_fake_sections()
7271 hdr->sh_entsize = sizeof (Elf32_External_RegInfo); in _bfd_mips_elf_fake_sections()
7279 hdr->sh_entsize = 0; in _bfd_mips_elf_fake_sections()
7306 hdr->sh_entsize = 1; in _bfd_mips_elf_fake_sections()
7312 hdr->sh_entsize = sizeof (Elf_External_ABIFlags_v0); in _bfd_mips_elf_fake_sections()
[all …]
Delf32-tilepro.c3914 elf_section_data (splt->output_section)->this_hdr.sh_entsize in tilepro_elf_finish_dynamic_sections()
3937 elf_section_data (htab->elf.sgotplt->output_section)->this_hdr.sh_entsize in tilepro_elf_finish_dynamic_sections()
3953 elf_section_data (htab->elf.sgot->output_section)->this_hdr.sh_entsize in tilepro_elf_finish_dynamic_sections()
Delf32-i370.c939 elf_section_data (sgot->output_section)->this_hdr.sh_entsize = 4; in i370_elf_finish_dynamic_sections()
Delf32-lm32.c1518 elf_section_data (splt->output_section)->this_hdr.sh_entsize = in lm32_elf_finish_dynamic_sections()
1537 elf_section_data (sgot->output_section)->this_hdr.sh_entsize = 4; in lm32_elf_finish_dynamic_sections()
Delfxx-tilegx.c4317 elf_section_data (splt->output_section)->this_hdr.sh_entsize in tilegx_elf_finish_dynamic_sections()
4341 elf_section_data (htab->elf.sgotplt->output_section)->this_hdr.sh_entsize = in tilegx_elf_finish_dynamic_sections()
4358 elf_section_data (htab->elf.sgot->output_section)->this_hdr.sh_entsize = in tilegx_elf_finish_dynamic_sections()
Delf64-sh64.c3911 elf_section_data (splt->output_section)->this_hdr.sh_entsize = 8; in sh64_elf64_finish_dynamic_sections()
3928 elf_section_data (sgot->output_section)->this_hdr.sh_entsize = 8; in sh64_elf64_finish_dynamic_sections()
Delf-hppa.h1125 hdr->sh_entsize = 4; in elf_hppa_fake_sections()
/toolchain/binutils/binutils-2.25/elfcpp/
Delfcpp_internal.h79 typename Elf_types<size>::Elf_WXword sh_entsize; member
Delfcpp.h1215 { return Convert<size, big_endian>::convert_host(this->p_->sh_entsize); }
1269 { this->p_->sh_entsize = Convert<size, big_endian>::convert_host(v); }
/toolchain/binutils/binutils-2.25/libiberty/
Dsimple-object-elf.c166 unsigned char sh_entsize[4]; /* Entry size if section holds table */ member
181 unsigned char sh_entsize[8]; /* Entry size if section holds table */ member
/toolchain/binutils/binutils-2.25/binutils/
Dreadelf.c4649 internal->sh_entsize = BYTE_GET (shdrs[i].sh_entsize); in get_32bit_section_headers()
4703 internal->sh_entsize = BYTE_GET (shdrs[i].sh_entsize); in get_64bit_section_headers()
4727 if (section->sh_entsize == 0) in get_32bit_elf_symbols()
4740 number = section->sh_size / section->sh_entsize; in get_32bit_elf_symbols()
4815 if (section->sh_entsize == 0) in get_64bit_elf_symbols()
4828 number = section->sh_size / section->sh_entsize; in get_64bit_elf_symbols()
5227 if (section->sh_entsize != expected_entsize) \ in process_section_headers()
5230 sprintf_vma (buf, section->sh_entsize); \ in process_section_headers()
5236 section->sh_entsize = expected_entsize; \ in process_section_headers()
5424 (unsigned long) section->sh_entsize); in process_section_headers()
[all …]

123