Searched refs:elf_file (Results 1 - 22 of 22) sorted by relevance

/netbsd-current/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; local
536 bzero(&elf_file, sizeof (elf_file));
538 elf_file.ehdr.e_ident[EI_MAG0] = ELFMAG0;
539 elf_file.ehdr.e_ident[EI_MAG1] = ELFMAG1;
540 elf_file
667 } elf_file; local
[all...]
/netbsd-current/external/gpl3/binutils.old/dist/gold/
H A Dnacl.h198 elfcpp::Elf_file<size, big_endian, Sniff_file> elf_file(&file);
199 const unsigned int shnum = elf_file.shnum();
202 if (elf_file.section_type(shndx) == elfcpp::SHT_NOTE)
204 Sniff_file::Location loc = elf_file.section_contents(shndx);
H A Dincremental-dump.cc230 elfcpp::Elf_file<size, big_endian, Incremental_binary> elf_file(inc);
232 unsigned int symtab_shndx = elf_file.find_section_by_type(elfcpp::SHT_SYMTAB);
238 Location symtab_location(elf_file.section_contents(symtab_shndx));
243 unsigned int strtab_shndx = elf_file.section_link(symtab_shndx);
245 || strtab_shndx > elf_file.shnum()
246 || elf_file.section_type(strtab_shndx) != elfcpp::SHT_STRTAB)
251 Location strtab_location(elf_file.section_contents(strtab_shndx));
H A Dobject.cc190 Object::read_section_data(elfcpp::Elf_file<size, big_endian, Object>* elf_file, argument
196 const off_t shoff = elf_file->shoff();
203 const unsigned char* pshdrnames = pshdrs + elf_file->shstrndx() * shdr_size;
H A Darm.cc6406 const unsigned char* pshdrs = this->get_view(this->elf_file()->shoff(),
6529 symtabshdr(this, this->elf_file()->section_header(symtab_shndx));
6548 strtabshdr(this, this->elf_file()->section_header(strtab_shndx));
7040 symtabshdr(this, this->elf_file()->section_header(symtab_shndx));
7091 const unsigned char* pshdrs = this->get_view(this->elf_file()->shoff(),
7134 symtabshdr(this, this->elf_file()->section_header(symtab_shndx));
H A Dobject.h2576 elf_file()
H A Daarch64.cc1917 symtabshdr(this, this->elf_file()->section_header(symtab_shndx));
1936 strtabshdr(this, this->elf_file()->section_header(strtab_shndx));
2387 const unsigned char* pshdrs = this->get_view(this->elf_file()->shoff(),
H A Dmips.cc6776 symtabshdr(this, this->elf_file()->section_header(symtab_shndx));
/netbsd-current/external/gpl3/binutils/dist/gold/
H A Dnacl.h198 elfcpp::Elf_file<size, big_endian, Sniff_file> elf_file(&file);
199 const unsigned int shnum = elf_file.shnum();
202 if (elf_file.section_type(shndx) == elfcpp::SHT_NOTE)
204 Sniff_file::Location loc = elf_file.section_contents(shndx);
H A Dincremental-dump.cc230 elfcpp::Elf_file<size, big_endian, Incremental_binary> elf_file(inc);
232 unsigned int symtab_shndx = elf_file.find_section_by_type(elfcpp::SHT_SYMTAB);
238 Location symtab_location(elf_file.section_contents(symtab_shndx));
243 unsigned int strtab_shndx = elf_file.section_link(symtab_shndx);
245 || strtab_shndx > elf_file.shnum()
246 || elf_file.section_type(strtab_shndx) != elfcpp::SHT_STRTAB)
251 Location strtab_location(elf_file.section_contents(strtab_shndx));
H A Dobject.cc190 Object::read_section_data(elfcpp::Elf_file<size, big_endian, Object>* elf_file, argument
196 const off_t shoff = elf_file->shoff();
203 const unsigned char* pshdrnames = pshdrs + elf_file->shstrndx() * shdr_size;
H A Darm.cc6406 const unsigned char* pshdrs = this->get_view(this->elf_file()->shoff(),
6529 symtabshdr(this, this->elf_file()->section_header(symtab_shndx));
6548 strtabshdr(this, this->elf_file()->section_header(strtab_shndx));
7040 symtabshdr(this, this->elf_file()->section_header(symtab_shndx));
7091 const unsigned char* pshdrs = this->get_view(this->elf_file()->shoff(),
7134 symtabshdr(this, this->elf_file()->section_header(symtab_shndx));
H A Dobject.h2576 elf_file()
H A Daarch64.cc1917 symtabshdr(this, this->elf_file()->section_header(symtab_shndx));
1936 strtabshdr(this, this->elf_file()->section_header(strtab_shndx));
2387 const unsigned char* pshdrs = this->get_view(this->elf_file()->shoff(),
H A Dmips.cc6776 symtabshdr(this, this->elf_file()->section_header(symtab_shndx));
/netbsd-current/external/gpl3/gdb.old/dist/gold/
H A Dnacl.h198 elfcpp::Elf_file<size, big_endian, Sniff_file> elf_file(&file);
199 const unsigned int shnum = elf_file.shnum();
202 if (elf_file.section_type(shndx) == elfcpp::SHT_NOTE)
204 Sniff_file::Location loc = elf_file.section_contents(shndx);
H A Dincremental-dump.cc230 elfcpp::Elf_file<size, big_endian, Incremental_binary> elf_file(inc);
232 unsigned int symtab_shndx = elf_file.find_section_by_type(elfcpp::SHT_SYMTAB);
238 Location symtab_location(elf_file.section_contents(symtab_shndx));
243 unsigned int strtab_shndx = elf_file.section_link(symtab_shndx);
245 || strtab_shndx > elf_file.shnum()
246 || elf_file.section_type(strtab_shndx) != elfcpp::SHT_STRTAB)
251 Location strtab_location(elf_file.section_contents(strtab_shndx));
H A Dobject.cc190 Object::read_section_data(elfcpp::Elf_file<size, big_endian, Object>* elf_file, argument
196 const off_t shoff = elf_file->shoff();
203 const unsigned char* pshdrnames = pshdrs + elf_file->shstrndx() * shdr_size;
H A Darm.cc6406 const unsigned char* pshdrs = this->get_view(this->elf_file()->shoff(),
6529 symtabshdr(this, this->elf_file()->section_header(symtab_shndx));
6548 strtabshdr(this, this->elf_file()->section_header(strtab_shndx));
7040 symtabshdr(this, this->elf_file()->section_header(symtab_shndx));
7091 const unsigned char* pshdrs = this->get_view(this->elf_file()->shoff(),
7134 symtabshdr(this, this->elf_file()->section_header(symtab_shndx));
H A Dobject.h2547 elf_file()
H A Daarch64.cc1917 symtabshdr(this, this->elf_file()->section_header(symtab_shndx));
1936 strtabshdr(this, this->elf_file()->section_header(strtab_shndx));
2387 const unsigned char* pshdrs = this->get_view(this->elf_file()->shoff(),
H A Dmips.cc6776 symtabshdr(this, this->elf_file()->section_header(symtab_shndx));

Completed in 553 milliseconds