Home
last modified time | relevance | path

Searched refs:pshdrs (Results 1 – 10 of 10) sorted by relevance

/netbsd/src/external/gpl3/binutils/dist/gold/
Dreloc.cc274 const unsigned char* pshdrs = this->get_view(this->elf_file_.shoff(), in do_read_relocs() local
278 const unsigned char* ps = pshdrs + This::shdr_size; in do_read_relocs()
306 typename This::Shdr secshdr(pshdrs + shndx * This::shdr_size); in do_read_relocs()
368 typename This::Shdr symtabshdr(pshdrs in do_read_relocs()
594 const unsigned char* pshdrs = this->get_view(this->elf_file_.shoff(), in do_relocate() local
605 this->write_sections(layout, pshdrs, of, &views); in do_relocate()
631 this->relocate_sections(symtab, layout, pshdrs, of, &views); in do_relocate()
679 const unsigned char* pshdrs, in write_sections() argument
690 const unsigned char* p = pshdrs + This::shdr_size; in write_sections()
870 const unsigned char* pshdrs, in do_relocate_sections() argument
[all …]
Ddynobj.cc105 const unsigned char* pshdrs, in find_dynsym_sections() argument
120 const unsigned char* p = pshdrs; in find_dynsym_sections()
134 pshdrs); in find_dynsym_sections()
162 pshdrs); in find_dynsym_sections()
196 pshdrs); in find_dynsym_sections()
210 const unsigned char* pshdrs, in read_dynsym_section() argument
226 typename This::Shdr shdr(pshdrs + shndx * This::shdr_size); in read_dynsym_section()
249 Sized_dynobj<size, big_endian>::read_dynamic(const unsigned char* pshdrs, in read_dynamic() argument
255 typename This::Shdr dynamicshdr(pshdrs + dynamic_shndx * This::shdr_size); in read_dynamic()
272 typename This::Shdr strtabshdr(pshdrs + link * This::shdr_size); in read_dynamic()
[all …]
Dobject.cc111 const unsigned char* pshdrs) in read_symtab_xindex() argument
115 if (pshdrs == NULL) in read_symtab_xindex()
119 const unsigned char* p = (pshdrs in read_symtab_xindex()
202 const unsigned char* pshdrs = sd->section_headers->data(); in read_section_data() local
203 const unsigned char* pshdrnames = pshdrs + elf_file->shstrndx() * shdr_size; in read_section_data()
511 Sized_relobj_file<size, big_endian>::find_symtab(const unsigned char* pshdrs) in find_symtab() argument
519 const unsigned char* p = pshdrs + shnum * This::shdr_size; in find_symtab()
537 pshdrs); in find_symtab()
587 const unsigned char* pshdrs, in find_shdr() argument
595 const unsigned char* hdr_end = pshdrs + shdr_size * shnum; in find_shdr()
[all …]
Dobject.h180 const unsigned char* pshdrs);
385 build_compressed_section_map(const unsigned char* pshdrs, unsigned int shnum,
1042 find_shdr(const unsigned char* pshdrs, const char* name,
2606 const unsigned char* pshdrs, Output_file* of,
2612 const unsigned char* pshdrs, Output_file* of,
2660 find_symtab(const unsigned char* pshdrs);
2670 find_eh_frame(const unsigned char* pshdrs, const char* names,
2706 write_sections(const Layout*, const unsigned char* pshdrs, Output_file*,
2712 const unsigned char* pshdrs, Output_file* of, in relocate_sections() argument
2714 { this->do_relocate_sections(symtab, layout, pshdrs, of, pviews); } in relocate_sections()
[all …]
Ddynobj.h310 find_dynsym_sections(const unsigned char* pshdrs,
318 read_dynsym_section(const unsigned char* pshdrs, unsigned int shndx,
325 read_dynamic(const unsigned char* pshdrs, unsigned int dynamic_shndx,
Darm.cc1682 const unsigned char* pshdrs, Output_file* of,
6241 const unsigned char* pshdrs) in section_needs_reloc_stub_scanning() argument
6275 const elfcpp::Shdr<32, big_endian> text_shdr(pshdrs + index * shdr_size); in section_needs_reloc_stub_scanning()
6406 const unsigned char* pshdrs = this->get_view(this->elf_file()->shoff(), in scan_sections_for_stubs() local
6422 const unsigned char* p = pshdrs + shdr_size; in scan_sections_for_stubs()
6427 pshdrs)) in scan_sections_for_stubs()
6481 const unsigned char* p = pshdrs + shdr_size; in scan_sections_for_stubs()
6606 const unsigned char* pshdrs, in do_relocate_sections() argument
6611 this->relocate_section_range(symtab, layout, pshdrs, of, pviews, in do_relocate_sections()
6645 relinfo.data_shdr = pshdrs + i * elfcpp::Elf_sizes<32>::shdr_size; in do_relocate_sections()
[all …]
Ddwp.cc784 const unsigned char* const pshdrs = this->get_view(shoff, shnum * shdr_size, in setup() local
789 pshdrs + this->elf_file_.shstrndx() * shdr_size; in setup()
803 pshdrs, this->shnum(), names, section_names_size, this, true); in setup()
Daarch64.cc1861 const unsigned char* pshdrs, Output_file* of,
2150 const unsigned char* pshdrs, Output_file* of, in do_relocate_sections() argument
2154 this->relocate_section_range(symtab, layout, pshdrs, of, pviews, in do_relocate_sections()
2191 relinfo.data_shdr = pshdrs + i * elfcpp::Elf_sizes<size>::shdr_size; in do_relocate_sections()
2253 const unsigned char* pshdrs) in section_needs_reloc_stub_scanning() argument
2284 const elfcpp::Shdr<size, big_endian> text_shdr(pshdrs + in section_needs_reloc_stub_scanning()
2388 const unsigned char* pshdrs = this->get_view(this->elf_file()->shoff(), in scan_sections_for_stubs() local
2404 const unsigned char* p = pshdrs + shdr_size; in scan_sections_for_stubs()
2412 pshdrs)) in scan_sections_for_stubs()
Dpowerpc.cc122 const unsigned char* pshdrs, Output_file* of,
2332 const unsigned char* const pshdrs = sd->section_headers->data(); in do_find_special_sections() local
2338 s = this->template find_shdr<size, big_endian>(pshdrs, in do_find_special_sections()
2343 unsigned int ndx = (s - pshdrs) / elfcpp::Elf_sizes<size>::shdr_size; in do_find_special_sections()
2356 s = this->template find_shdr<size, big_endian>(pshdrs, ".rela.toc", in do_find_special_sections()
2360 unsigned int ndx = (s - pshdrs) / elfcpp::Elf_sizes<size>::shdr_size; in do_find_special_sections()
2556 const unsigned char* const pshdrs = sd->section_headers->data(); in do_read_symbols() local
2564 const unsigned char *psymtab = pshdrs + symtab_shndx * shdr_size; in do_read_symbols()
2687 const unsigned char* const pshdrs = sd->section_headers->data(); in do_read_symbols() local
2697 s = this->template find_shdr<size, big_endian>(pshdrs, ".opd", names, in do_read_symbols()
[all …]
Dmips.cc6874 const unsigned char* pshdrs = sd->section_headers->data(); in do_read_symbols() local
6875 const unsigned char* ps = pshdrs + shdr_size; in do_read_symbols()