Home
last modified time | relevance | path

Searched refs:symoff (Results 1 – 25 of 36) sorted by relevance

12

/netbsd-src/lib/libc/gen/
H A Dnlist_coff.c89 u_long symoff, extstroff; in __fdnlist_coff() local
132 symoff = filehdrp->f_symptr; in __fdnlist_coff()
135 if (symoff + ES_LEN * nesyms > mappedsize) in __fdnlist_coff()
137 extstroff = symoff + ES_LEN * nesyms; in __fdnlist_coff()
154 memcpy(&esym, &mappedfile[symoff + ES_LEN * i], ES_LEN); in __fdnlist_coff()
H A Dnlist_aout.c98 off_t stroff, symoff; in __fdnlist_aout() local
113 symoff = N_SYMOFF(exec); in __fdnlist_aout()
115 stroff = symoff + symsize; in __fdnlist_aout()
151 if (lseek(fd, symoff, SEEK_SET) == -1) in __fdnlist_aout()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/
H A DMachOWriter.cpp44 if (SymTabCommand.symoff) in totalSize()
45 Ends.push_back(SymTabCommand.symoff + symTableSize()); in totalSize()
315 char *SymTable = (char *)Buf->getBufferStart() + SymTabCommand.symoff; in writeSymbolTable()
438 if (SymTabCommand.symoff) in writeTail()
439 Queue.push_back({SymTabCommand.symoff, &MachOWriter::writeSymbolTable}); in writeTail()
/netbsd-src/external/gpl3/binutils.old/dist/include/coff/
H A Dxcoff.h516 char symoff[XCOFFARMAG_ELEMENT_SIZE]; member
543 char symoff[XCOFFARMAGBIG_ELEMENT_SIZE]; member
/netbsd-src/external/gpl3/binutils/dist/include/coff/
H A Dxcoff.h516 char symoff[XCOFFARMAG_ELEMENT_SIZE]; member
543 char symoff[XCOFFARMAGBIG_ELEMENT_SIZE]; member
/netbsd-src/sys/arch/hpc/stand/hpcboot/
H A Dload_elf.h50 off_t symoff; member
H A Dload_elf.cpp233 _sym_blk.symoff = sh->sh_offset; in symbol_block_size()
284 _load_segment(kv, sz, _sym_blk.symoff, sz); in load_symbol_block()
/netbsd-src/sys/dev/
H A Dkloader.c316 off_t symoff, stroff; in kloader_load() local
319 symoff = sh[symndx].sh_offset; in kloader_load()
354 kloader_from_file(kv, symoff, sh[symndx].sh_size); in kloader_load()
/netbsd-src/usr.bin/elf2ecoff/
H A Delf2ecoff.c625 elf_read_syms(struct elf_syms *elfsymsp, int in, off_t symoff, off_t symsize, in elf_read_syms() argument
634 saveRead(in, symoff, nsyms * sizeof(Elf32_Sym), in elf_read_syms()
656 off_t symoff, off_t symsize, off_t stroff, off_t strsize) in elf_symbol_table_to_ecoff() argument
668 elf_read_syms(&elfsymtab, in, symoff, symsize, stroff, strsize); in elf_symbol_table_to_ecoff()
/netbsd-src/external/gpl3/gcc/dist/libbacktrace/
H A Dmacho.c196 uint32_t symoff; /* File offset of symbol table */ member
513 off_t symoff, unsigned int nsyms, off_t stroff, in macho_add_symtab() argument
540 if (!backtrace_get_view (state, descriptor, symoff, nsyms * symsize, in macho_add_symtab()
1143 offset + symcmd.symoff, symcmd.nsyms, in macho_add()
/netbsd-src/external/bsd/elftoolchain/dist/libdwarf/
H A Dlibdwarf_reloc.c270 Dwarf_Unsigned symndx, Dwarf_Unsigned esymndx, Dwarf_Unsigned symoff, in _dwarf_reloc_entry_add_pair() argument
284 esymoff - symoff, length, error); in _dwarf_reloc_entry_add_pair()
/netbsd-src/external/gpl3/binutils.old/dist/include/mach-o/
H A Dexternal.h159 unsigned char symoff[4]; /* File offset of the symbol table. */ member
/netbsd-src/external/gpl3/binutils/dist/include/mach-o/
H A Dexternal.h159 unsigned char symoff[4]; /* File offset of the symbol table. */ member
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dcoff-rs6000.c1360 GET_VALUE_IN_FIELD (off, xcoff_ardata (abfd)->symoff, 10); in _bfd_xcoff_slurp_armap()
1422 GET_VALUE_IN_FIELD (off, xcoff_ardata_big (abfd)->symoff, 10); in _bfd_xcoff_slurp_armap()
1726 || EQ_VALUE_IN_FIELD (filestart, xcoff_ardata (archive)->symoff, 10)) in _bfd_xcoff_openr_next_archived_file()
1759 || EQ_VALUE_IN_FIELD (filestart, xcoff_ardata_big (archive)->symoff, 10)) in _bfd_xcoff_openr_next_archived_file()
2012 READ20 (fhdr->symoff, nextoff); in xcoff_write_armap_big()
2120 PRINT20 (fhdr->symoff, 0); in xcoff_write_armap_big()
2417 sprintf (fhdr.symoff, "%d", 0); in xcoff_write_archive_contents_old()
2421 sprintf (fhdr.symoff, "%ld", (long) nextoff); in xcoff_write_archive_contents_old()
2680 PRINT20 (fhdr.symoff, 0); in xcoff_write_archive_contents_big()
2686 PRINT20 (fhdr.symoff, nextoff); in xcoff_write_archive_contents_big()
H A Dmach-o.c1993 if (bfd_seek (abfd, sym->symoff, SEEK_SET) != 0) in bfd_mach_o_write_symtab_content()
2085 bfd_h_put_32 (abfd, sym->symoff, raw.symoff); in bfd_mach_o_write_symtab()
2697 symtab->symoff = mdata->filelen; in bfd_mach_o_write_contents()
3722 unsigned int symoff = sym->symoff + (i * symwidth); in bfd_mach_o_read_symtab_symbol() local
3733 if (bfd_seek (abfd, symoff, SEEK_SET) != 0 in bfd_mach_o_read_symtab_symbol()
3739 symwidth, symoff); in bfd_mach_o_read_symtab_symbol()
3936 if (sym->symoff > filesize in bfd_mach_o_read_symtab_symbols()
3937 || sym->nsyms > (filesize - sym->symoff) / symwidth) in bfd_mach_o_read_symtab_symbols()
4531 symtab->symoff = bfd_h_get_32 (abfd, raw.symoff); in bfd_mach_o_read_symtab()
4538 if (symtab->symoff > filesize in bfd_mach_o_read_symtab()
[all …]
H A Dmach-o.h151 unsigned int symoff; member
H A Dpdp11.c261 file_ptr symoff; member
3160 if (bfd_seek (output_bfd, flaginfo->symoff, SEEK_SET) != 0 in aout_link_write_other_symbol()
3165 flaginfo->symoff += amt; in aout_link_write_other_symbol()
3923 &aout_info.symoff); in NAME()
3926 obj_sym_filepos (abfd) = aout_info.symoff; in NAME()
4624 if (bfd_seek (output_bfd, flaginfo->symoff, SEEK_SET) != 0) in aout_link_write_symbols()
4630 flaginfo->symoff += size; in aout_link_write_symbols()
/netbsd-src/usr.bin/elf2aout/
H A Delf2aout.c455 translate_syms(int out, int in, off_t symoff, off_t symsize, in translate_syms()
488 if (lseek(in, symoff, SEEK_SET) < 0) in translate_syms()
454 translate_syms(int out,int in,off_t symoff,off_t symsize,off_t stroff,off_t strsize) translate_syms() argument
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dcoff-rs6000.c1360 GET_VALUE_IN_FIELD (off, x_artdata (abfd)->u.hdr.symoff, 10); in _bfd_xcoff_slurp_armap()
1421 GET_VALUE_IN_FIELD (off, x_artdata (abfd)->u.bhdr.symoff, 10); in _bfd_xcoff_slurp_armap()
1805 x_artdata (archive)->u.hdr.symoff, 10)) in _bfd_xcoff_openr_next_archived_file()
1828 x_artdata (archive)->u.bhdr.symoff, 10)) in _bfd_xcoff_openr_next_archived_file()
2096 READ20 (fhdr->symoff, nextoff); in xcoff_write_armap_big()
2208 PRINT20 (fhdr->symoff, 0); in xcoff_write_armap_big()
2508 sprintf (fhdr->symoff, "%d", 0); in xcoff_write_archive_contents_old()
2512 sprintf (fhdr->symoff, "%ld", (long) nextoff); in xcoff_write_archive_contents_old()
2773 PRINT20 (fhdr->symoff, 0); in xcoff_write_archive_contents_big()
2779 PRINT20 (fhdr->symoff, nextoff); in xcoff_write_archive_contents_big()
H A Dmach-o.c2008 if (bfd_seek (abfd, sym->symoff, SEEK_SET) != 0) in bfd_mach_o_write_symtab_content()
2102 bfd_h_put_32 (abfd, sym->symoff, raw.symoff); in bfd_mach_o_write_symtab()
2714 symtab->symoff = mdata->filelen; in bfd_mach_o_write_contents()
3739 unsigned int symoff = sym->symoff + (i * symwidth); in bfd_mach_o_read_symtab_symbol() local
3750 if (bfd_seek (abfd, symoff, SEEK_SET) != 0 in bfd_mach_o_read_symtab_symbol()
3756 symwidth, symoff); in bfd_mach_o_read_symtab_symbol()
3953 if (sym->symoff > filesize in bfd_mach_o_read_symtab_symbols()
3954 || sym->nsyms > (filesize - sym->symoff) / symwidth) in bfd_mach_o_read_symtab_symbols()
4553 symtab->symoff = bfd_h_get_32 (abfd, raw.symoff); in bfd_mach_o_read_symtab()
4560 if (symtab->symoff > filesize in bfd_mach_o_read_symtab()
[all …]
H A Dmach-o.h151 unsigned int symoff; member
H A Dpdp11.c261 file_ptr symoff; member
3162 if (bfd_seek (output_bfd, flaginfo->symoff, SEEK_SET) != 0 in aout_link_write_other_symbol()
3167 flaginfo->symoff += amt; in aout_link_write_other_symbol()
3925 &aout_info.symoff); in NAME()
3928 obj_sym_filepos (abfd) = aout_info.symoff; in NAME()
4626 if (bfd_seek (output_bfd, flaginfo->symoff, SEEK_SET) != 0) in aout_link_write_symbols()
4632 flaginfo->symoff += size; in aout_link_write_symbols()
H A Daoutx.h3575 file_ptr symoff; member
3731 if (bfd_seek (output_bfd, flaginfo->symoff, SEEK_SET) != 0 in aout_link_write_other_symbol()
3736 flaginfo->symoff += EXTERNAL_NLIST_SIZE; in aout_link_write_other_symbol()
5292 if (bfd_seek (output_bfd, flaginfo->symoff, SEEK_SET) != 0) in aout_link_write_symbols()
5299 flaginfo->symoff += outsym_size; in aout_link_write_symbols()
5487 &aout_info.symoff); in NAME()
5490 obj_sym_filepos (abfd) = aout_info.symoff; in NAME()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/darwin/mach/
H A Dloader.d1384 uint symoff; in version() member
3009 uint symoff; member
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DMachOObjectFile.cpp419 if (Symtab.symoff > FileSize) in checkSymtabCommand()
433 BigSize += Symtab.symoff; in checkSymtabCommand()
439 if (Error Err = checkOverlappingElement(Elements, Symtab.symoff, SymtabSize, in checkSymtabCommand()
2154 uint64_t Offset = S.symoff + SymbolIdx * SymbolTableEntrySize; in getRelocationSymbol()
2510 unsigned Offset = Symtab.symoff + in symbol_end()
2523 DRI.p = reinterpret_cast<uintptr_t>(getPtr(*this, Symtab.symoff)); in getSymbolByIndex()
2535 DRIstart.p = reinterpret_cast<uintptr_t>(getPtr(*this, Symtab.symoff)); in getSymbolIndex()
4481 Cmd.symoff = 0; in getSymtabLoadCommand()

12