Home
last modified time | relevance | path

Searched refs:elf_file (Results 1 – 21 of 21) sorted by relevance

/netbsd-src/external/cddl/osnet/dist/lib/libdtrace/common/
H A Ddt_link.c86 (lseek64(fd, (off64_t)elf_file.shdr[(index)].sh_offset, SEEK_SET) != \
87 (off64_t)elf_file.shdr[(index)].sh_offset || \
88 dt_write(dtp, fd, (data), elf_file.shdr[(index)].sh_size) != \
89 elf_file.shdr[(index)].sh_size)
518 } elf_file; in dump_elf32() local
536 bzero(&elf_file, sizeof (elf_file)); in dump_elf32()
538 elf_file.ehdr.e_ident[EI_MAG0] = ELFMAG0; in dump_elf32()
539 elf_file.ehdr.e_ident[EI_MAG1] = ELFMAG1; in dump_elf32()
540 elf_file.ehdr.e_ident[EI_MAG2] = ELFMAG2; in dump_elf32()
541 elf_file.ehdr.e_ident[EI_MAG3] = ELFMAG3; in dump_elf32()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gold/
H A Dincremental-dump.cc230 elfcpp::Elf_file<size, big_endian, Incremental_binary> elf_file(inc); in dump_incremental_inputs() local
232 unsigned int symtab_shndx = elf_file.find_section_by_type(elfcpp::SHT_SYMTAB); in dump_incremental_inputs()
238 Location symtab_location(elf_file.section_contents(symtab_shndx)); in dump_incremental_inputs()
243 unsigned int strtab_shndx = elf_file.section_link(symtab_shndx); in dump_incremental_inputs()
245 || strtab_shndx > elf_file.shnum() in dump_incremental_inputs()
246 || elf_file.section_type(strtab_shndx) != elfcpp::SHT_STRTAB) in dump_incremental_inputs()
251 Location strtab_location(elf_file.section_contents(strtab_shndx)); in dump_incremental_inputs()
H A Dnacl.h198 elfcpp::Elf_file<size, big_endian, Sniff_file> elf_file(&file); in do_recognize_nacl_file()
199 const unsigned int shnum = elf_file.shnum(); in do_recognize_nacl_file()
202 if (elf_file.section_type(shndx) == elfcpp::SHT_NOTE) in do_recognize_nacl_file()
204 Sniff_file::Location loc = elf_file.section_contents(shndx); in do_recognize_nacl_file()
H A Dobject.cc190 Object::read_section_data(elfcpp::Elf_file<size, big_endian, Object>* elf_file, in read_section_data() argument
196 const off_t shoff = elf_file->shoff(); in read_section_data()
203 const unsigned char* pshdrnames = pshdrs + elf_file->shstrndx() * shdr_size; in read_section_data()
H A Darm.cc6406 const unsigned char* pshdrs = this->get_view(this->elf_file()->shoff(), in scan_sections_for_stubs()
6529 symtabshdr(this, this->elf_file()->section_header(symtab_shndx)); in do_count_local_symbols()
6548 strtabshdr(this, this->elf_file()->section_header(strtab_shndx)); in do_count_local_symbols()
7040 symtabshdr(this, this->elf_file()->section_header(symtab_shndx)); in do_read_symbols()
7091 const unsigned char* pshdrs = this->get_view(this->elf_file()->shoff(), in do_gc_process_relocs()
7134 symtabshdr(this, this->elf_file()->section_header(symtab_shndx)); in update_output_local_symbol_count()
H A Dobject.h2576 elf_file() in elf_file() function
H A Daarch64.cc1917 symtabshdr(this, this->elf_file()->section_header(symtab_shndx)); in do_count_local_symbols()
1936 strtabshdr(this, this->elf_file()->section_header(strtab_shndx)); in do_count_local_symbols()
2387 const unsigned char* pshdrs = this->get_view(this->elf_file()->shoff(), in scan_sections_for_stubs()
H A Dmips.cc6776 symtabshdr(this, this->elf_file()->section_header(symtab_shndx)); in do_count_local_symbols()
H A DChangeLog-081513659 (Sized_relobj::elf_file, Sized_relobj::local_values): New methods.
/netbsd-src/external/gpl3/binutils/dist/gold/
H A Dincremental-dump.cc230 elfcpp::Elf_file<size, big_endian, Incremental_binary> elf_file(inc); in dump_incremental_inputs() local
232 unsigned int symtab_shndx = elf_file.find_section_by_type(elfcpp::SHT_SYMTAB); in dump_incremental_inputs()
238 Location symtab_location(elf_file.section_contents(symtab_shndx)); in dump_incremental_inputs()
243 unsigned int strtab_shndx = elf_file.section_link(symtab_shndx); in dump_incremental_inputs()
245 || strtab_shndx > elf_file.shnum() in dump_incremental_inputs()
246 || elf_file.section_type(strtab_shndx) != elfcpp::SHT_STRTAB) in dump_incremental_inputs()
251 Location strtab_location(elf_file.section_contents(strtab_shndx)); in dump_incremental_inputs()
H A Dnacl.h198 elfcpp::Elf_file<size, big_endian, Sniff_file> elf_file(&file); in do_recognize_nacl_file()
199 const unsigned int shnum = elf_file.shnum(); in do_recognize_nacl_file()
202 if (elf_file.section_type(shndx) == elfcpp::SHT_NOTE) in do_recognize_nacl_file()
204 Sniff_file::Location loc = elf_file.section_contents(shndx); in do_recognize_nacl_file()
H A Dobject.cc190 Object::read_section_data(elfcpp::Elf_file<size, big_endian, Object>* elf_file, in read_section_data() argument
196 const off_t shoff = elf_file->shoff(); in read_section_data()
203 const unsigned char* pshdrnames = pshdrs + elf_file->shstrndx() * shdr_size; in read_section_data()
H A Darm.cc6406 const unsigned char* pshdrs = this->get_view(this->elf_file()->shoff(), in scan_sections_for_stubs()
6529 symtabshdr(this, this->elf_file()->section_header(symtab_shndx)); in do_count_local_symbols()
6548 strtabshdr(this, this->elf_file()->section_header(strtab_shndx)); in do_count_local_symbols()
7040 symtabshdr(this, this->elf_file()->section_header(symtab_shndx)); in do_read_symbols()
7091 const unsigned char* pshdrs = this->get_view(this->elf_file()->shoff(), in do_gc_process_relocs()
7134 symtabshdr(this, this->elf_file()->section_header(symtab_shndx)); in update_output_local_symbol_count()
H A Dobject.h2576 elf_file() in elf_file() function
H A Daarch64.cc1918 symtabshdr(this, this->elf_file()->section_header(symtab_shndx)); in do_count_local_symbols()
1937 strtabshdr(this, this->elf_file()->section_header(strtab_shndx)); in do_count_local_symbols()
2388 const unsigned char* pshdrs = this->get_view(this->elf_file()->shoff(), in scan_sections_for_stubs()
H A Dmips.cc6814 symtabshdr(this, this->elf_file()->section_header(symtab_shndx)); in do_count_local_symbols()
H A DChangeLog-081513659 (Sized_relobj::elf_file, Sized_relobj::local_values): New methods.
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/
H A DDynamicTags.def90 …atform/bionic/+/6f12bfece5dcc01325e0abba56a46b1bcf991c69/tools/relocation_packer/src/elf_file.cc#31
/netbsd-src/external/gpl3/binutils.old/dist/elfcpp/
H A DChangeLog-0815349 * elf_file.h: (class Elf_strtab): New class.
/netbsd-src/external/gpl3/binutils/dist/elfcpp/
H A DChangeLog-0815349 * elf_file.h: (class Elf_strtab): New class.
/netbsd-src/external/gpl3/gcc/dist/gcc/lto/
H A DChangeLog5143 (lto_elf_get_shdr, lto_elf_free_shdr): Remove elf_file parameter.
5145 (lto_elf_build_section_table): Remove elf_file argument from
5903 (lto_elf_file_open): Allocate elf_file from GC memory.