Home
last modified time | relevance | path

Searched refs:bfd_seek (Results 1 – 25 of 70) sorted by relevance

123

/freebsd-12-stable/contrib/binutils/bfd/
Dsco5-core.c92 if (bfd_seek (abfd, (file_ptr) filepos, SEEK_SET) != 0
137 if ((bfd_seek (abfd, (file_ptr) (coresize - sizeof coffset_siz),
148 if ((bfd_seek (abfd, (file_ptr) (coresize - coffset_siz), SEEK_SET) != 0)
194 if ((bfd_seek (abfd,
201 || (bfd_seek (abfd, (file_ptr) cheadoffs, SEEK_SET) != 0)
217 if ((bfd_seek (abfd, (file_ptr) chead.cs_hseek, SEEK_SET) != 0)
Dcoff-ia64.c80 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0
106 if (bfd_seek (abfd, offset, SEEK_SET) != 0
125 if (bfd_seek (abfd, offset - sizeof (dos_hdr), SEEK_SET) != 0)
Dformat.c162 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0) /* rewind! */ in bfd_check_format_matches()
227 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0) in bfd_check_format_matches()
Drs6000-core.c268 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0) in read_hdr()
550 if (bfd_seek (abfd, c_loader, SEEK_SET) != 0) in rs6000coff_core_p()
586 if (bfd_seek (abfd, c_vmm, SEEK_SET) != 0) in rs6000coff_core_p()
659 if (bfd_seek (core_bfd, c_loader + size, SEEK_SET) != 0) in rs6000coff_core_file_matches_executable_p()
Dlibaout.h641 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0 \
650 if (bfd_seek (abfd, (file_ptr) (N_SYMOFF(*execp)), SEEK_SET) != 0)\
657 if (bfd_seek (abfd, (file_ptr) (N_TRELOFF (*execp)), SEEK_SET) != 0) \
662 if (bfd_seek (abfd, (file_ptr) (N_DRELOFF (*execp)), SEEK_SET) != 0) \
Darchive.c514 if (0 > bfd_seek (archive, filepos, SEEK_SET)) in _bfd_get_elt_at_filepos()
875 bfd_seek (abfd, ardata->first_file_filepos, SEEK_SET); in do_slurp_coff_armap()
912 if (bfd_seek (abfd, (file_ptr) -16, SEEK_CUR) != 0) in bfd_slurp_armap()
963 if (bfd_seek (abfd, (file_ptr) -16, SEEK_CUR) != 0) in bfd_slurp_bsd_armap_f2()
1060 bfd_seek (abfd, bfd_ardata (abfd)->first_file_filepos, SEEK_SET); in _bfd_slurp_extended_name_table()
1063 if (bfd_seek (abfd, (file_ptr) -16, SEEK_CUR) != 0) in _bfd_slurp_extended_name_table()
1680 if (bfd_seek (arch, (file_ptr) 0, SEEK_SET) != 0) in _bfd_write_archive_contents()
1725 if (bfd_seek (current, (file_ptr) 0, SEEK_SET) != 0) in _bfd_write_archive_contents()
2047 if (bfd_seek (arch, bfd_ardata (arch)->armap_datepos, SEEK_SET) != 0 in _bfd_archive_bsd_update_armap_timestamp()
Dcoffcode.h1693 bfd_seek (abfd, (file_ptr) hdr->s_relptr, 0); in coff_set_alignment_hook()
1698 bfd_seek (abfd, oldpos, 0); in coff_set_alignment_hook()
2072 if (bfd_seek (abfd, obj_sym_filepos (abfd), SEEK_SET) != 0 in coff_set_arch_mach_hook()
2463 if (bfd_seek (abfd, s->rel_filepos, SEEK_SET) != 0) in coff_write_relocs()
3259 if (bfd_seek (abfd, sofar - 1, SEEK_SET) != 0 in coff_compute_section_file_positions()
3317 if (bfd_seek (abfd, filepos, SEEK_SET) != 0) in coff_compute_checksum()
3336 if (bfd_seek (abfd, 0x3c, SEEK_SET) != 0) in coff_apply_checksum()
3342 if (bfd_seek (abfd, peheader + 0x58, SEEK_SET) != 0) in coff_apply_checksum()
3348 if (bfd_seek (abfd, peheader, SEEK_SET) != 0) in coff_apply_checksum()
3355 if (bfd_seek (abfd, peheader + 0x58, SEEK_SET) != 0) in coff_apply_checksum()
[all …]
Decoff.c455 if (bfd_seek (abfd, ecoff_data (abfd)->sym_filepos, SEEK_SET) != 0 in ecoff_slurp_symbolic_header()
564 if (bfd_seek (abfd, pos, SEEK_SET) != 0 in _bfd_ecoff_slurp_symbolic_info()
1578 if (bfd_seek (abfd, section->rel_filepos, SEEK_SET) != 0) in ecoff_slurp_reloc_table()
2167 if (bfd_seek (abfd, pos, SEEK_SET) != 0 in _bfd_ecoff_set_section_contents()
2389 if (bfd_seek (abfd, (file_ptr) (filhsz + aoutsz), SEEK_SET) != 0) in _bfd_ecoff_write_object_contents()
2589 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0) in _bfd_ecoff_write_object_contents()
2711 if (bfd_seek (abfd, current->rel_filepos, SEEK_SET) != 0) in _bfd_ecoff_write_object_contents()
2740 if (bfd_seek (abfd, (file_ptr) ecoff_data (abfd)->sym_filepos - 1, in _bfd_ecoff_write_object_contents()
2745 if (bfd_seek (abfd, (file_ptr) ecoff_data (abfd)->sym_filepos - 1, in _bfd_ecoff_write_object_contents()
2856 if (bfd_seek (abfd, (file_ptr) -16, SEEK_CUR) != 0) in _bfd_ecoff_slurp_armap()
[all …]
Delfcode.h681 if (bfd_seek (abfd, (file_ptr) where, SEEK_SET) != 0) in elf_object_p()
723 if (bfd_seek (abfd, (file_ptr) where, SEEK_SET) != 0) in elf_object_p()
730 if (bfd_seek (abfd, (file_ptr) where, SEEK_SET) != 0) in elf_object_p()
828 if (bfd_seek (abfd, (file_ptr) i_ehdrp->e_phoff, SEEK_SET) != 0) in elf_object_p()
1069 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0 in elf_write_shdrs_and_ehdr()
1097 if (bfd_seek (abfd, (file_ptr) i_ehdrp->e_shoff, SEEK_SET) != 0 in elf_write_shdrs_and_ehdr()
1188 if (bfd_seek (abfd, verhdr->sh_offset, SEEK_SET) != 0) in elf_slurp_symbol_table()
1368 if (bfd_seek (abfd, rel_hdr->sh_offset, SEEK_SET) != 0 in elf_slurp_reloc_table_from_section()
Dbout.c422 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0 in b_out_write_object_contents()
454 if (bfd_seek (abfd, (file_ptr) (N_SYMOFF (*exec_hdr (abfd))), SEEK_SET) in b_out_write_object_contents()
461 if (bfd_seek (abfd, (file_ptr) (N_TROFF (*exec_hdr (abfd))), SEEK_SET) in b_out_write_object_contents()
467 if (bfd_seek (abfd, (file_ptr) (N_DROFF (*exec_hdr (abfd))), SEEK_SET) in b_out_write_object_contents()
704 if (bfd_seek (abfd, asect->rel_filepos, SEEK_SET) != 0) in b_out_slurp_reloc_table()
968 if (bfd_seek (abfd, section->filepos + offset, SEEK_SET) != 0) in b_out_set_section_contents()
Dihex.c249 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0) in ihex_scan()
492 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0) in ihex_object_p()
547 if (bfd_seek (abfd, section->filepos, SEEK_SET) != 0) in ihex_read_section()
Dsrec.c305 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0) in srec_scan()
599 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0 in srec_object_p()
634 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0 in symbolsrec_object_p()
670 if (bfd_seek (abfd, section->filepos, SEEK_SET) != 0) in srec_read_section()
Dpeicode.h1266 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0 in pe_bfd_object_p()
1277 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0 in pe_bfd_object_p()
1303 if (bfd_seek (abfd, offset, SEEK_SET) != 0 in pe_bfd_object_p()
1321 if (bfd_seek (abfd, (file_ptr) (offset - sizeof (dos_hdr)), SEEK_SET) != 0) in pe_bfd_object_p()
Dcoffgen.c432 if (bfd_seek (abfd, sec->rel_filepos, SEEK_SET) != 0 in _bfd_coff_read_internal_relocs()
871 if (bfd_seek (abfd, filepos, SEEK_SET) != 0) in coff_fix_symbol_name()
1116 if (bfd_seek (abfd, obj_sym_filepos (abfd), SEEK_SET) != 0) in coff_write_symbols()
1277 if (bfd_seek (abfd, s->line_filepos, SEEK_SET) != 0) in coff_write_linenumbers()
1402 if (bfd_seek (abfd, sect->filepos, SEEK_SET) != 0 in build_debug_section()
1404 || bfd_seek (abfd, position, SEEK_SET) != 0) in build_debug_section()
1451 if (bfd_seek (abfd, obj_sym_filepos (abfd), SEEK_SET) != 0 in _bfd_coff_get_external_symbols()
1487 if (bfd_seek (abfd, pos, SEEK_SET) != 0) in _bfd_coff_read_string_table()
Delfcore.h185 if (bfd_seek (abfd, (file_ptr) i_ehdrp->e_phoff, SEEK_SET) != 0) in elf_core_file_p()
Dcofflink.c977 if (bfd_seek (abfd, pos, SEEK_SET) != 0 in _bfd_coff_final_link()
1042 if (bfd_seek (abfd, o->rel_filepos, SEEK_SET) != 0) in _bfd_coff_final_link()
1099 if (bfd_seek (abfd, pos, SEEK_SET) != 0) in _bfd_coff_final_link()
1835 if (bfd_seek (output_bfd, pos, SEEK_SET) != 0 in _bfd_coff_link_input_bfd()
2074 if (bfd_seek (output_bfd, pos, SEEK_SET) != 0 in _bfd_coff_link_input_bfd()
2140 if (bfd_seek (input_bfd, o->line_filepos, SEEK_SET) != 0 in _bfd_coff_link_input_bfd()
2230 if (bfd_seek (output_bfd, pos, SEEK_SET) != 0 in _bfd_coff_link_input_bfd()
2260 if (bfd_seek (output_bfd, pos, SEEK_SET) != 0 in _bfd_coff_link_input_bfd()
2580 if (bfd_seek (output_bfd, pos, SEEK_SET) != 0 in _bfd_coff_write_global_sym()
Dcoff-rs6000.c1155 if (bfd_seek (abfd, off, SEEK_SET) != 0)
1166 if (bfd_seek (abfd, off, SEEK_CUR) != 0)
1210 if (bfd_seek (abfd, off, SEEK_SET) != 0)
1221 if (bfd_seek (abfd, off, SEEK_CUR) != 0)
1467 if (bfd_seek (abfd, (file_ptr) ((namlen & 1) + SXCOFFARFMAG), SEEK_CUR) != 0)
1730 if (bfd_seek (in_bfd, (file_ptr) 0, SEEK_SET) != 0)
2112 if (bfd_seek (abfd, (file_ptr) SIZEOF_AR_FILE_HDR, SEEK_SET) != 0)
2205 if (bfd_seek (sub, (file_ptr) 0, SEEK_SET) != 0)
2302 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0
2331 if (bfd_seek (abfd, (file_ptr) SIZEOF_AR_FILE_HDR_BIG, SEEK_SET) != 0)
[all …]
Darchive64.c64 if (bfd_seek (abfd, (file_ptr) - 16, SEEK_CUR) != 0) in bfd_elf64_archive_slurp_armap()
Dbfdwin.c236 if (bfd_seek (abfd, offset, SEEK_SET) != 0) in bfd_get_file_window()
Dnetbsd-core.c93 if (bfd_seek (abfd, offset, SEEK_SET) != 0) in netbsd_core_file_p()
Dtrad-core.c86 if (bfd_seek (abfd, (file_ptr) TRAD_CORE_USER_OFFSET, SEEK_SET) != 0)
/freebsd-12-stable/contrib/gdb/gdb/
Dcoff-pe-read.c159 bfd_seek (abfd, (file_ptr) where, SEEK_SET); in pe_get16()
169 bfd_seek (abfd, (file_ptr) where, SEEK_SET); in pe_get32()
244 bfd_seek (dll, (file_ptr) secptr1, SEEK_SET); in read_pe_exported_syms()
273 bfd_seek (dll, (file_ptr) secptr1 + 0, SEEK_SET); in read_pe_exported_syms()
288 bfd_seek (dll, (file_ptr) expptr, SEEK_SET); in read_pe_exported_syms()
Ddbxread.c554 val = bfd_seek (sym_bfd, DBX_SYMTAB_OFFSET (objfile), SEEK_SET); in dbx_symfile_read()
676 val = bfd_seek (sym_bfd, STRING_TABLE_OFFSET, SEEK_SET); in dbx_symfile_init()
717 val = bfd_seek (sym_bfd, STRING_TABLE_OFFSET, SEEK_SET); in dbx_symfile_init()
815 if (bfd_seek (sym_bfd, filepos, SEEK_SET) != 0) in fill_symbuf()
847 bfd_seek (symfile_bfd, sym_offset, SEEK_CUR); in stabs_seek()
2384 bfd_seek (pst->objfile->obfd, SYMBOL_OFFSET (pst), SEEK_SET); in dbx_psymtab_to_symtab_1()
3350 val = bfd_seek (sym_bfd, stabstroffset, SEEK_SET); in coffstab_build_psymtabs()
3448 val = bfd_seek (sym_bfd, stabstroffset, SEEK_SET); in elfstab_build_psymtabs()
Dsomread.c105 bfd_seek (abfd, obj_som_sym_filepos (abfd), SEEK_SET); in som_symtab_read()
112 bfd_seek (abfd, obj_som_str_filepos (abfd), SEEK_SET); in som_symtab_read()
Dcoffread.c627 bfd_seek (abfd, abfd->where, 0); in coff_symfile_read()
715 bfd_seek (objfile->obfd, 0, 0); in coff_symtab_read()
718 val = bfd_seek (objfile->obfd, (long) symtab_offset, 0); in coff_symtab_read()
1193 if (bfd_seek (abfd, offset, 0) < 0) in init_stringtab()
1305 if (bfd_seek (abfd, offset, 0) < 0) in init_lineno()

123