/toolchain/binutils/binutils-2.25/libiberty/ |
D | simple-object-elf.c | 161 unsigned char sh_offset[4]; /* Section file offset */ member 176 unsigned char sh_offset[8]; /* Section file offset */ member 534 shstrhdr, sh_offset, Elf_Addr); in simple_object_elf_find_sections() 566 shdr, sh_offset, Elf_Addr); in simple_object_elf_find_sections() 769 unsigned int sh_offset, unsigned int sh_size, in simple_object_elf_write_shdr() argument 791 ELF_SET_FIELD (fns, cl, Shdr, buf, sh_offset, Elf_Addr, sh_offset); in simple_object_elf_write_shdr() 823 size_t sh_offset; in simple_object_elf_write_to_file() local 854 sh_offset = shdr_offset + shnum * shdr_size; in simple_object_elf_write_to_file() 880 new_sh_offset = sh_offset + mask; in simple_object_elf_write_to_file() 882 while (new_sh_offset > sh_offset) in simple_object_elf_write_to_file() [all …]
|
/toolchain/binutils/binutils-2.25/include/elf/ |
D | internal.h | 106 file_ptr sh_offset; /* Section file offset */ member 323 || ((bfd_vma) (sec_hdr)->sh_offset >= (segment)->p_offset \ 325 || ((sec_hdr)->sh_offset - (segment)->p_offset \ 327 && (((sec_hdr)->sh_offset - (segment)->p_offset \ 345 || ((bfd_vma) (sec_hdr)->sh_offset > (segment)->p_offset \ 346 && ((sec_hdr)->sh_offset - (segment)->p_offset \
|
D | external.h | 117 unsigned char sh_offset[4]; /* Section file offset */ member 130 unsigned char sh_offset[8]; /* Section file offset */ member
|
/toolchain/binutils/binutils-2.25/binutils/ |
D | readelf.c | 4496 dynamic_addr = sec->sh_offset; in process_program_headers() 4644 internal->sh_offset = BYTE_GET (shdrs[i].sh_offset); in get_32bit_section_headers() 4706 internal->sh_offset = BYTE_GET (shdrs[i].sh_offset); in get_64bit_section_headers() 4748 esyms = (Elf32_External_Sym *) get_data (NULL, file, section->sh_offset, 1, in get_32bit_elf_symbols() 4759 symtab_shndx_hdr->sh_offset, in get_32bit_elf_symbols() 4836 esyms = (Elf64_External_Sym *) get_data (NULL, file, section->sh_offset, 1, in get_64bit_elf_symbols() 4846 symtab_shndx_hdr->sh_offset, in get_64bit_elf_symbols() 5160 string_table = (char *) get_data (NULL, file, section->sh_offset, in process_section_headers() 5271 dynamic_strings = (char *) get_data (NULL, file, section->sh_offset, in process_section_headers() 5422 (unsigned long) section->sh_offset, in process_section_headers() [all …]
|
/toolchain/binutils/binutils-2.25/bfd/ |
D | elfcode.h | 315 dst->sh_offset = H_GET_WORD (abfd, src->sh_offset); in elf_swap_shdr_in() 338 H_PUT_WORD (abfd, src->sh_offset, dst->sh_offset); in elf_swap_shdr_out() 741 && (((i_shdrp[shindex].sh_addr - i_shdrp[shindex].sh_offset) in elf_object_p() 1076 i_shdr.sh_offset = 0; in elf_checksum_contents() 1198 if (bfd_seek (abfd, verhdr->sh_offset, SEEK_SET) != 0) in elf_slurp_symbol_table() 1399 if (bfd_seek (abfd, rel_hdr->sh_offset, SEEK_SET) != 0 in elf_slurp_reloc_table_from_section() 1505 BFD_ASSERT ((rel_hdr && asect->rel_filepos == rel_hdr->sh_offset) in elf_slurp_reloc_table() 1506 || (rel_hdr2 && asect->rel_filepos == rel_hdr2->sh_offset)); in elf_slurp_reloc_table() 1562 (long) hdr->sh_offset, in elf_debug_section()
|
D | elf64-sparc.c | 70 if (bfd_seek (abfd, rel_hdr->sh_offset, SEEK_SET) != 0 in elf64_sparc_slurp_one_reloc_table() 168 BFD_ASSERT ((rel_hdr && asect->rel_filepos == rel_hdr->sh_offset) in elf64_sparc_slurp_reloc_table() 169 || (rel_hdr2 && asect->rel_filepos == rel_hdr2->sh_offset)); in elf64_sparc_slurp_reloc_table()
|
D | elf.c | 294 offset = i_shdrp[shindex]->sh_offset; in bfd_elf_get_str_section() 402 pos = symtab_hdr->sh_offset + symoffset * extsym_size; in bfd_elf_get_elf_syms() 421 pos = shndx_hdr->sh_offset + symoffset * sizeof (Elf_External_Sym_Shndx); in bfd_elf_get_elf_syms() 619 if (bfd_seek (abfd, shdr->sh_offset, SEEK_SET) != 0 in setup_group() 874 newsect->filepos = hdr->sh_offset; in _bfd_elf_make_section_from_shdr() 1011 + hdr->sh_offset - phdr->p_offset); in _bfd_elf_make_section_from_shdr() 1970 target_sect->rel_filepos = hdr->sh_offset; in bfd_section_from_shdr() 2662 rel_hdr->sh_offset = 0; in _bfd_elf_init_reloc_shdr() 2720 this_hdr->sh_offset = 0; in elf_fake_sections() 3531 i_shdrp->sh_offset = offset; in _bfd_elf_assign_file_position_for_section() [all …]
|
D | elf32-rx.c | 2031 if (bfd_seek (abfd, shndx_hdr->sh_offset, SEEK_SET) != 0 in elf32_rx_relax_section() 3205 && phdr[i].p_offset <= (bfd_vma) sec->sh_offset in rx_elf_object_p() 3206 && (bfd_vma)sec->sh_offset <= phdr[i].p_offset + (phdr[i].p_filesz - 1)) in rx_elf_object_p() 3219 phdr[i].p_vaddr = sec->sh_addr + (sec->sh_offset - phdr[i].p_offset); in rx_elf_object_p()
|
D | elf64-mips.c | 3719 if (bfd_seek (abfd, rel_hdr->sh_offset, SEEK_SET) != 0 in mips_elf64_slurp_one_reloc_table() 3898 BFD_ASSERT ((rel_hdr && asect->rel_filepos == rel_hdr->sh_offset) in mips_elf64_slurp_reloc_table() 3899 || (rel_hdr2 && asect->rel_filepos == rel_hdr2->sh_offset)); in mips_elf64_slurp_reloc_table()
|
D | elf32-m32c.c | 1436 if (bfd_seek (abfd, shndx_hdr->sh_offset, SEEK_SET) != 0 in m32c_elf_relax_section()
|
D | elflink.c | 2096 if (bfd_seek (abfd, shdr->sh_offset, SEEK_SET) != 0) in elf_link_read_relocs_from_section() 3727 if (bfd_seek (abfd, versymhdr->sh_offset, SEEK_SET) != 0 in elf_link_add_object_symbols() 8364 pos = hdr->sh_offset + hdr->sh_size; in elf_link_flush_output_syms() 8564 if (bfd_seek (input, versymhdr->sh_offset, SEEK_SET) != 0 in elf_link_check_versioned_symbol() 11132 if (bfd_seek (abfd, symtab_shndx_hdr->sh_offset, SEEK_SET) != 0 in bfd_elf_final_link() 11157 if (bfd_seek (abfd, symstrtab_hdr->sh_offset, SEEK_SET) != 0 in bfd_elf_final_link() 11419 off = elf_section_data (o->output_section)->this_hdr.sh_offset; in bfd_elf_final_link()
|
D | elf32-rl78.c | 2029 if (bfd_seek (abfd, shndx_hdr->sh_offset, SEEK_SET) != 0 in rl78_elf_relax_section()
|
D | elf32-spu.c | 5008 + elf_section_data (ea)->this_hdr.sh_offset); in spu_elf_relocate_section() 5349 bfd_vma val = elf_section_data (htab->ovl_sec[0])->this_hdr.sh_offset; in spu_elf_modify_program_headers()
|
D | ChangeLog-2011 | 1710 sh_offset for all SHT_NOBITS sections here, just .tbss sections 2288 * elf.c (assign_file_positions_for_load_sections): Set sh_offset for
|
D | ChangeLog-2007 | 2284 * elf.c (assign_file_positions_for_load_sections): Set sh_offset 2288 (assign_file_positions_for_non_load_sections): Don't set sh_offset
|
/toolchain/binutils/binutils-2.25/gold/ |
D | reloc.cc | 839 off_t sh_offset = shdr.get_sh_offset(); in write_sections() local 840 if (!rm.empty() && rm.back().file_offset > sh_offset) in write_sections() 842 rm.push_back(File_read::Read_multiple_entry(sh_offset, in write_sections() 855 off_t sh_offset = shdr.get_sh_offset(); in write_sections() local 856 if (!rm.empty() && rm.back().file_offset > sh_offset) in write_sections() 858 rm.push_back(File_read::Read_multiple_entry(sh_offset, in write_sections()
|
D | incremental.cc | 613 if (sect.output_shndx == 0 || sect.sh_offset == -1) in do_reserve_layout() 617 os->reserve(sect.sh_offset, sect.sh_size); in do_reserve_layout() 2051 if (sect.output_shndx == 0 || sect.sh_offset == -1) in do_layout() 2056 this->section_offsets()[i] = static_cast<Address>(sect.sh_offset); in do_layout() 2182 v -= sect.sh_offset; in do_add_symbols() 2296 section_offset += sect.sh_offset; in do_section_contents()
|
D | aarch64.cc | 942 unsigned shndx, unsigned int sh_offset) in Erratum_stub() argument 944 shndx_(shndx), sh_offset_(sh_offset), in Erratum_stub() 963 sh_offset() const in sh_offset() function in __anon20db65070111::Erratum_stub 1071 unsigned int shndx, unsigned int sh_offset, in E843419_stub() argument 1073 : Erratum_stub<size, big_endian>(relobj, ST_E_843419, shndx, sh_offset), in E843419_stub() 1400 unsigned int shndx, unsigned int sh_offset); 1526 The_aarch64_relobj* a64relobj, unsigned int shndx, unsigned int sh_offset) in find_erratum_stub() argument 1530 shndx, sh_offset); in find_erratum_stub() 1959 gold_assert(pview.address + stub->sh_offset() in fix_errata() 1965 reinterpret_cast<Insntype*>(pview.view + stub->sh_offset()); in fix_errata() [all …]
|
D | incremental-dump.cc | 217 static_cast<long long>(info.sh_offset), in dump_incremental_inputs()
|
D | incremental.h | 1018 off_t sh_offset; member 1034 info.sh_offset = Swap::readval(p + 8); in get_input_section()
|
D | output.cc | 4019 Output_section::set_fixed_layout(uint64_t sh_addr, off_t sh_offset, in set_fixed_layout() argument 4026 this->set_file_offset(sh_offset); in set_fixed_layout() 4036 Output_section::reserve(uint64_t sh_offset, uint64_t sh_size) in reserve() argument 4038 this->free_list_.remove(sh_offset, sh_offset + sh_size); in reserve()
|
D | layout.cc | 1096 typename elfcpp::Elf_types<size>::Elf_Off sh_offset = shdr.get_sh_offset(); in init_fixed_output_section() local 1107 os->set_fixed_layout(sh_addr, sh_offset, sh_size, sh_addralign); in init_fixed_output_section() 1109 this->free_list_.remove(sh_offset, sh_offset + sh_size); in init_fixed_output_section()
|
D | output.h | 3934 set_fixed_layout(uint64_t sh_addr, off_t sh_offset, off_t sh_size, 3960 reserve(uint64_t sh_offset, uint64_t sh_size);
|
/toolchain/binutils/binutils-2.25/elfcpp/ |
D | elfcpp_internal.h | 74 typename Elf_types<size>::Elf_Off sh_offset; member
|
D | elfcpp.h | 1194 { return Convert<size, big_endian>::convert_host(this->p_->sh_offset); } 1249 { this->p_->sh_offset = Convert<size, big_endian>::convert_host(v); }
|