Lines Matching refs:current

1561   bfd *current;  in _bfd_construct_extended_name_table()  local
1570 for (current = abfd->archive_head; in _bfd_construct_extended_name_table()
1571 current != NULL; in _bfd_construct_extended_name_table()
1572 current = current->archive_next) in _bfd_construct_extended_name_table()
1579 const char *filename = current->filename; in _bfd_construct_extended_name_table()
1583 if (current->my_archive in _bfd_construct_extended_name_table()
1584 && ! bfd_is_thin_archive (current->my_archive)) in _bfd_construct_extended_name_table()
1585 filename = current->my_archive->filename; in _bfd_construct_extended_name_table()
1613 normal = normalize (current, current->filename); in _bfd_construct_extended_name_table()
1635 struct ar_hdr *hdr = arch_hdr (current); in _bfd_construct_extended_name_table()
1638 && hdr->ar_name[thislen] != ar_padchar (current))) in _bfd_construct_extended_name_table()
1645 hdr->ar_name[thislen] = ar_padchar (current); in _bfd_construct_extended_name_table()
1663 for (current = abfd->archive_head; in _bfd_construct_extended_name_table()
1664 current != NULL; in _bfd_construct_extended_name_table()
1665 current = current->archive_next) in _bfd_construct_extended_name_table()
1670 const char *filename = current->filename; in _bfd_construct_extended_name_table()
1676 if (current->my_archive in _bfd_construct_extended_name_table()
1677 && ! bfd_is_thin_archive (current->my_archive)) in _bfd_construct_extended_name_table()
1678 filename = current->my_archive->filename; in _bfd_construct_extended_name_table()
1694 normal = normalize (current, filename); in _bfd_construct_extended_name_table()
1705 struct ar_hdr *hdr = arch_hdr (current); in _bfd_construct_extended_name_table()
1721 hdr->ar_name[0] = ar_padchar (current); in _bfd_construct_extended_name_table()
1722 if (bfd_is_thin_archive (abfd) && current->origin > 0) in _bfd_construct_extended_name_table()
1728 current->origin - sizeof (struct ar_hdr)); in _bfd_construct_extended_name_table()
1755 bfd *current; in _bfd_archive_bsd44_construct_extended_name_table() local
1761 for (current = abfd->archive_head; in _bfd_archive_bsd44_construct_extended_name_table()
1762 current != NULL; in _bfd_archive_bsd44_construct_extended_name_table()
1763 current = current->archive_next) in _bfd_archive_bsd44_construct_extended_name_table()
1765 const char *normal = normalize (current, current->filename); in _bfd_archive_bsd44_construct_extended_name_table()
1778 struct ar_hdr *hdr = arch_hdr (current); in _bfd_archive_bsd44_construct_extended_name_table()
1781 arch_eltdata (current)->extra_size = len; in _bfd_archive_bsd44_construct_extended_name_table()
2111 bfd *current; in _bfd_write_archive_contents() local
2125 for (current = arch->archive_head; in _bfd_write_archive_contents()
2126 current != NULL; in _bfd_write_archive_contents()
2127 current = current->archive_next) in _bfd_write_archive_contents()
2134 if (bfd_write_p (current)) in _bfd_write_archive_contents()
2139 if (!current->arelt_data) in _bfd_write_archive_contents()
2141 current->arelt_data = in _bfd_write_archive_contents()
2142 bfd_ar_hdr_from_filesystem (arch, current->filename, current); in _bfd_write_archive_contents()
2143 if (!current->arelt_data) in _bfd_write_archive_contents()
2148 (arch, current->filename, (char *) arch_hdr (current))); in _bfd_write_archive_contents()
2153 if ((bfd_check_format (current, bfd_object))) in _bfd_write_archive_contents()
2199 for (current = arch->archive_head; in _bfd_write_archive_contents()
2200 current != NULL; in _bfd_write_archive_contents()
2201 current = current->archive_next) in _bfd_write_archive_contents()
2204 bfd_size_type remaining = arelt_size (current); in _bfd_write_archive_contents()
2207 if (!_bfd_write_ar_hdr (arch, current)) in _bfd_write_archive_contents()
2211 if (bfd_seek (current, (file_ptr) 0, SEEK_SET) != 0) in _bfd_write_archive_contents()
2221 if (bfd_bread (buffer, amt, current) != amt) in _bfd_write_archive_contents()
2232 if ((arelt_size (current) % 2) == 1) in _bfd_write_archive_contents()
2261 bfd_set_error (bfd_error_on_input, current, bfd_get_error ()); in _bfd_write_archive_contents()
2271 bfd *current; in _bfd_compute_and_write_armap() local
2304 for (current = arch->archive_head; in _bfd_compute_and_write_armap()
2305 current != NULL; in _bfd_compute_and_write_armap()
2306 current = current->archive_next, elt_no++) in _bfd_compute_and_write_armap()
2308 if (bfd_check_format (current, bfd_object) in _bfd_compute_and_write_armap()
2309 && (bfd_get_file_flags (current) & HAS_SYMS) != 0) in _bfd_compute_and_write_armap()
2315 storage = bfd_get_symtab_upper_bound (current); in _bfd_compute_and_write_armap()
2330 symcount = bfd_canonicalize_symtab (current, syms); in _bfd_compute_and_write_armap()
2366 bfd_get_filename (current)); in _bfd_compute_and_write_armap()
2377 map[orl_count].u.abfd = current; in _bfd_compute_and_write_armap()
2388 if (! bfd_free_cached_info (current)) in _bfd_compute_and_write_armap()
2430 bfd *current = arch->archive_head; in bsd_write_armap() local
2431 bfd *last_elt = current; /* Last element arch seen. */ in bsd_write_armap()
2485 struct areltdata *ared = arch_eltdata (current); in bsd_write_armap()
2490 current = current->archive_next; in bsd_write_armap()
2492 while (current != map[count].u.abfd); in bsd_write_armap()
2505 last_elt = current; in bsd_write_armap()
2617 bfd *current = arch->archive_head; in coff_write_armap() local
2658 current = arch->archive_head; in coff_write_armap()
2660 while (current != NULL && count < symbol_count) in coff_write_armap()
2665 while (count < symbol_count && map[count].u.abfd == current) in coff_write_armap()
2683 archive_member_file_ptr += arelt_size (current); in coff_write_armap()
2687 current = current->archive_next; in coff_write_armap()