Home
last modified time | relevance | path

Searched refs:ar_name (Results 1 – 9 of 9) sorted by relevance

/toolchain/binutils/binutils-2.25/binutils/
Delfcomm.c608 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()
704 if (arch->arhdr.ar_name[0] == '/') in get_archive_member_name()
718 k = j = strtoul (arch->arhdr.ar_name + 1, &endp, 10); in get_archive_member_name()
756 for (j = 0; j < sizeof (arch->arhdr.ar_name); j++) in get_archive_member_name()
757 if (arch->arhdr.ar_name[j] == '/') in get_archive_member_name()
759 arch->arhdr.ar_name[j] = '\0'; in get_archive_member_name()
760 return arch->arhdr.ar_name; in get_archive_member_name()
766 char *name = xmalloc (sizeof (arch->arhdr.ar_name) + 1); in get_archive_member_name()
[all …]
Darsup.c103 ar_directory (char *ar_name, struct list *list, char *output) in ar_directory() argument
107 arch = open_inarch (ar_name, (char *) NULL); in ar_directory()
DChangeLog-2010178 handle full size ar_name.
510 of the ar_name field.
/toolchain/binutils/binutils-2.25/bfd/
Darchive.c508 if ((hdr.ar_name[0] == '/' in _bfd_generic_read_ar_hdr_mag()
509 || (hdr.ar_name[0] == ' ' in _bfd_generic_read_ar_hdr_mag()
510 && memchr (hdr.ar_name, '/', ar_maxnamelen (abfd)) == NULL)) in _bfd_generic_read_ar_hdr_mag()
513 filename = get_extended_arelt_filename (abfd, hdr.ar_name, &origin); in _bfd_generic_read_ar_hdr_mag()
518 else if (is_bsd44_extended_name (hdr.ar_name)) in _bfd_generic_read_ar_hdr_mag()
521 namelen = atoi (&hdr.ar_name[3]); in _bfd_generic_read_ar_hdr_mag()
548 e = (char *) memchr (hdr.ar_name, '\0', ar_maxnamelen (abfd)); in _bfd_generic_read_ar_hdr_mag()
551 e = (char *) memchr (hdr.ar_name, '/', ar_maxnamelen (abfd)); in _bfd_generic_read_ar_hdr_mag()
553 e = (char *) memchr (hdr.ar_name, ' ', ar_maxnamelen (abfd)); in _bfd_generic_read_ar_hdr_mag()
557 namelen = e - hdr.ar_name; in _bfd_generic_read_ar_hdr_mag()
[all …]
Darchive64.c170 memcpy (hdr.ar_name, "/SYM64/", strlen ("/SYM64/")); in bfd_elf64_archive_write_armap()
Decoff.c3047 strcpy (hdr.ar_name, ecoff_backend (abfd)->armap_start); in _bfd_ecoff_write_armap()
3048 hdr.ar_name[ARMAP_HEADER_MARKER_INDEX] = ARMAP_MARKER; in _bfd_ecoff_write_armap()
3049 hdr.ar_name[ARMAP_HEADER_ENDIAN_INDEX] = in _bfd_ecoff_write_armap()
3053 hdr.ar_name[ARMAP_OBJECT_MARKER_INDEX] = ARMAP_MARKER; in _bfd_ecoff_write_armap()
3054 hdr.ar_name[ARMAP_OBJECT_ENDIAN_INDEX] = in _bfd_ecoff_write_armap()
3056 memcpy (hdr.ar_name + ARMAP_END_INDEX, ARMAP_END, sizeof ARMAP_END - 1); in _bfd_ecoff_write_armap()
Dsom.c6646 sprintf (hdr.ar_name, "/ "); in som_write_armap()
/toolchain/binutils/binutils-2.25/gold/
Darchive.cc158 char ar_name[16]; member
373 if (hdr->ar_name[0] != '/') in interpret_header()
375 const char* name_end = strchr(hdr->ar_name, '/'); in interpret_header()
377 || name_end - hdr->ar_name >= static_cast<int>(sizeof hdr->ar_name)) in interpret_header()
383 pname->assign(hdr->ar_name, name_end - hdr->ar_name); in interpret_header()
387 else if (hdr->ar_name[1] == ' ') in interpret_header()
393 else if (hdr->ar_name[1] == '/') in interpret_header()
401 long x = strtol(hdr->ar_name + 1, &end, 10); in interpret_header()
/toolchain/binutils/binutils-2.25/include/aout/
Dar.h46 char ar_name[16]; /* Name of this member. */ member