Searched refs:arhdr (Results 1 – 5 of 5) sorted by relevance
/toolchain/binutils/binutils-2.25/binutils/ |
D | elfcomm.c | 447 size = strtoul (arch->arhdr.ar_size, NULL, 10); in process_archive_index_and_symbols() 450 arch->next_arhdr_offset += sizeof arch->arhdr + size; in process_archive_index_and_symbols() 558 got = fread (&arch->arhdr, 1, sizeof arch->arhdr, arch->file); in process_archive_index_and_symbols() 559 if (got != sizeof arch->arhdr && got != 0) in process_archive_index_and_symbols() 597 got = fread (&arch->arhdr, 1, sizeof arch->arhdr, file); in setup_archive() 598 if (got != sizeof arch->arhdr) in setup_archive() 608 if (const_strneq (arch->arhdr.ar_name, "/ ")) in setup_archive() 613 else if (const_strneq (arch->arhdr.ar_name, "/SYM64/ ")) in setup_archive() 622 if (const_strneq (arch->arhdr.ar_name, "// ")) in setup_archive() 625 arch->longnames_size = strtoul (arch->arhdr.ar_size, NULL, 10); in setup_archive() [all …]
|
D | elfedit.c | 332 got = fread (&arch.arhdr, 1, sizeof arch.arhdr, file); in process_archive() 333 if (got != sizeof arch.arhdr) in process_archive() 342 if (memcmp (arch.arhdr.ar_fmag, ARFMAG, 2) != 0) in process_archive() 350 arch.next_arhdr_offset += sizeof arch.arhdr; in process_archive() 352 archive_file_size = strtoul (arch.arhdr.ar_size, NULL, 10); in process_archive() 405 archive_file_offset = arch.nested_member_origin + sizeof arch.arhdr; in process_archive()
|
D | elfcomm.h | 76 struct ar_hdr arhdr; /* Current archive header. */ member
|
D | readelf.c | 15202 got = fread (&arch.arhdr, 1, sizeof arch.arhdr, file); in process_archive() 15203 if (got != sizeof arch.arhdr) in process_archive() 15211 if (memcmp (arch.arhdr.ar_fmag, ARFMAG, 2) != 0) in process_archive() 15218 arch.next_arhdr_offset += sizeof arch.arhdr; in process_archive() 15220 archive_file_size = strtoul (arch.arhdr.ar_size, NULL, 10); in process_archive() 15280 archive_file_offset = arch.nested_member_origin + sizeof arch.arhdr; in process_archive()
|
/toolchain/binutils/binutils-2.25/bfd/ |
D | archive.c | 2010 bfd_dont_truncate_arname (bfd *abfd, const char *pathname, char *arhdr) in bfd_dont_truncate_arname() argument 2017 struct ar_hdr *hdr = (struct ar_hdr *) arhdr; in bfd_dont_truncate_arname() 2024 bfd_bsd_truncate_arname (abfd, pathname, arhdr); in bfd_dont_truncate_arname() 2047 bfd_bsd_truncate_arname (bfd *abfd, const char *pathname, char *arhdr) in bfd_bsd_truncate_arname() argument 2049 struct ar_hdr *hdr = (struct ar_hdr *) arhdr; in bfd_bsd_truncate_arname() 2079 bfd_gnu_truncate_arname (bfd *abfd, const char *pathname, char *arhdr) in bfd_gnu_truncate_arname() argument 2081 struct ar_hdr *hdr = (struct ar_hdr *) arhdr; in bfd_gnu_truncate_arname()
|